From 4d0bd43c0ede0159c0f0130a5565ea5a6511997a Mon Sep 17 00:00:00 2001 From: Holger Dürer Date: Tue, 2 May 2017 20:39:09 +0100 Subject: 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. --- lisp/mastodon-auth.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lisp/mastodon-auth.el') 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 -- cgit v1.2.3