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-inspect.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lisp/mastodon-inspect.el') 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." -- cgit v1.2.3