From 7ec5aea30e8ada9475e1199a084d468f0031002d Mon Sep 17 00:00:00 2001 From: Abhiseck Paira Date: Fri, 25 Feb 2022 18:59:56 +0530 Subject: auth: change name to mastodon-auth--request-authorization-code Change the name of the function `mastodon-auth--ask-authorization-code' to `mastodon-auth--request-authorization-code'. Suggested-by: Marty Hiatt --- lisp/mastodon-auth.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp') diff --git a/lisp/mastodon-auth.el b/lisp/mastodon-auth.el index 2540598..416e714 100644 --- a/lisp/mastodon-auth.el +++ b/lisp/mastodon-auth.el @@ -86,7 +86,7 @@ if you are happy with unencryped storage use e.g. \"~/authinfo\"." "Paste Authorization Code here: ") (mastodon-client-form-user-from-vars))) -(defun mastodon-auth--ask-authorization-code () +(defun mastodon-auth--request-authorization-code () "Ask authorization code and return it." (let ((url (mastodon-auth--get-browser-login-url)) authorization-code) @@ -96,7 +96,7 @@ if you are happy with unencryped storage use e.g. \"~/authinfo\"." (defun mastodon-auth--generate-token () "Generate access_token for the user. Return response buffer." - (let ((authorization-code (mastodon-auth--ask-authorization-code))) + (let ((authorization-code (mastodon-auth--request-authorization-code))) (mastodon-http--post (concat mastodon-instance-url "/oauth/token") `(("grant_type" . "authorization_code") -- cgit v1.2.3