diff options
author | Holger Dürer <me@hdurer.net> | 2017-05-02 20:39:09 +0100 |
---|---|---|
committer | Johnson Denen <johnson.denen@gmail.com> | 2017-05-05 15:01:50 -0400 |
commit | 4d0bd43c0ede0159c0f0130a5565ea5a6511997a (patch) | |
tree | 271f9ccfc077eb45885a05bf6a40ebb8e60c9565 /lisp/mastodon-auth.el | |
parent | 9c8df73c253640f54e89c0c170336a9993290e6c (diff) |
Clean up use of progn.
- Lambda, defun, let, etc. all have an implicit progn.
- A progn with a single form is identical to that single form.
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 |