From f1543079813dbf04ea198aae8cfbf511c1309269 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Wed, 7 Aug 2024 20:29:59 +0200 Subject: fix mastodon-notifications-get --- lisp/mastodon.el | 4 ++-- 1 file 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)) -- cgit v1.2.3