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-inspect.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-inspect.el')
-rw-r--r-- | lisp/mastodon-inspect.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/mastodon-inspect.el b/lisp/mastodon-inspect.el index 989269e..9ae5049 100644 --- a/lisp/mastodon-inspect.el +++ b/lisp/mastodon-inspect.el @@ -39,12 +39,12 @@ (defun mastodon-inspect--dump-json-in-buffer (name json) "Buffer NAME is opened and JSON in printed into it." (switch-to-buffer-other-window name) - (progn (setf print-level nil - print-length nil) - (insert (pp json t)) - (goto-char 1) - (emacs-lisp-mode) - (message "success"))) + (setf print-level nil + print-length nil) + (insert (pp json t)) + (goto-char 1) + (emacs-lisp-mode) + (message "success")) (defun mastodon-inspect--toot () "Find next toot and dump its meta data into new buffer." |