aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index e774ec1..ae8a795 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -372,9 +372,7 @@ Calls `mastodon-tl--get-buffer-type', which see."
"Switch to a live mastodon buffer."
(interactive)
(let* ((bufs (mastodon-live-buffers))
- (buf-names (mapcar (lambda (buf)
- (buffer-name buf))
- bufs))
+ (buf-names (mapcar #'buffer-name bufs))
(choice (completing-read "Switch to mastodon buffer: "
buf-names)))
(switch-to-buffer choice)))