aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnson Denen <johnson.denen@gmail.com>2017-04-12 14:25:58 -0400
committerJohnson Denen <johnson.denen@gmail.com>2017-04-12 18:11:48 -0400
commitb719e9054f902e3b4339e35bf85e2141c49248ed (patch)
tree39fe574255953f9019f937092e81dbe5f6c3e9fa
parent2433e72f27151124a755a27cc95bc5430f4e8e4d (diff)
Fix return value bug
-rw-r--r--lisp/mastodon-auth.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/mastodon-auth.el b/lisp/mastodon-auth.el
index ed9b5cb..0814024 100644
--- a/lisp/mastodon-auth.el
+++ b/lisp/mastodon-auth.el
@@ -69,7 +69,9 @@ STATUS is passed by `url-retrieve'."
(defun mastodon--register-and-return-client-app ()
"Register `mastodon' with an instance. Return `mastodon--client-app-plist'."
- (mastodon--register-client-app))
+ (progn
+ (mastodon--register-client-app)
+ mastodon--client-app-plist))
(defun mastodon--store-client-id-and-secret ()
"Store `:client_id' and `:client_secret' in a plstore."