aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-18 22:18:03 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-19 13:21:37 +0100
commite930daea74004496dfb9aa61f2f424a53b1ec4b4 (patch)
treeee95338e715eed7efd6e17f5cbf6fd33663286f0 /lisp/mastodon.el
parent5d62213b4f8f92cb974c24c4ab0fc373fe806115 (diff)
remove redundant lambda from mapcar in switch-buffer
Diffstat (limited to 'lisp/mastodon.el')
-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)))