aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-08-07 20:29:59 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-08-07 20:29:59 +0200
commitf1543079813dbf04ea198aae8cfbf511c1309269 (patch)
tree709fef4fdc911a2a59fce184da21acccf721b200 /lisp
parent67cce4e38c334884f08ddb3a5b550226702c2edc (diff)
fix mastodon-notifications-get
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index e027ad3..782ed09 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -350,8 +350,8 @@ BUFFER-NAME is added to \"*mastodon-\" to create the buffer name.
FORCE means do not try to update an existing buffer, but fetch
from the server and load anew."
(interactive)
- (let ((buffer-name (or buffer-name "notifications"))
- (buffer (concat "*mastodon-" buffer-name "*")))
+ (let* ((buffer-name (or buffer-name "notifications"))
+ (buffer (concat "*mastodon-" buffer-name "*")))
(if (and (not force) (get-buffer buffer))
(progn (pop-to-buffer buffer '(display-buffer-same-window))
(mastodon-tl--update))