diff options
Diffstat (limited to 'lisp/mastodon-auth.el')
-rw-r--r-- | lisp/mastodon-auth.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/mastodon-auth.el b/lisp/mastodon-auth.el index 1586e84..1ceb652 100644 --- a/lisp/mastodon-auth.el +++ b/lisp/mastodon-auth.el @@ -67,10 +67,9 @@ Generate token and set `mastodon-auth--token' if nil." (or mastodon-auth--token - (progn - (let* ((json (mastodon-auth--get-token)) - (token (plist-get json :access_token))) - (setq mastodon-auth--token token))))) + (let* ((json (mastodon-auth--get-token)) + (token (plist-get json :access_token))) + (setq mastodon-auth--token token)))) (provide 'mastodon-auth) ;;; mastodon-auth.el ends here |