aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authorHolger Dürer <me@hdurer.net>2017-05-02 20:39:09 +0100
committerJohnson Denen <johnson.denen@gmail.com>2017-05-05 15:01:50 -0400
commit4d0bd43c0ede0159c0f0130a5565ea5a6511997a (patch)
tree271f9ccfc077eb45885a05bf6a40ebb8e60c9565 /lisp/mastodon-tl.el
parent9c8df73c253640f54e89c0c170336a9993290e6c (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-tl.el')
-rw-r--r--lisp/mastodon-tl.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 9dade6c..e025a6e 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -248,9 +248,8 @@ Move forward (down) the timeline unless BACKWARD is non-nil."
(defun mastodon-tl--oldest-id ()
"Return toot-id from the bottom of the buffer."
- (progn
- (goto-char (point-max))
- (mastodon-tl--property 'toot-id t)))
+ (goto-char (point-max))
+ (mastodon-tl--property 'toot-id t))
(defun mastodon-tl--thread ()
"Open thread buffer for toot under `point'."