diff options
| author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-03-10 15:12:43 +0100 | 
|---|---|---|
| committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-03-10 15:17:11 +0100 | 
| commit | 4145c06d2f45756f7b48cd25b0c6672cc71f2cff (patch) | |
| tree | 107793600f85bc3b971f2773a5e55b0d60bc092c /lisp | |
| parent | 98838de25451a0cf1cf0b37eee2df62222b364ed (diff) | |
notifs-get: fix buffer name setting
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/mastodon.el | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/lisp/mastodon.el b/lisp/mastodon.el index c7c674a..3f57552 100644 --- a/lisp/mastodon.el +++ b/lisp/mastodon.el @@ -283,8 +283,9 @@ If REPLY-JSON is the json of the toot being replied to."  Optionally only print notifications of type TYPE, a string.  BUFFER-NAME is added to \"*mastodon-\" to create the buffer name."    (interactive) -  (let ((buffer (or (concat "*mastodon-" buffer-name "*") -                    "*mastodon-notifications*"))) +  (let ((buffer (if buffer-name +                    (concat "*mastodon-" buffer-name "*") +                  "*mastodon-notifications*")))      (if (get-buffer buffer)          (progn (switch-to-buffer buffer)                 (mastodon-tl--update)) | 
