emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/mastodon 3d558edff6 04/27: Tweak display actions to better


From: ELPA Syncer
Subject: [nongnu] elpa/mastodon 3d558edff6 04/27: Tweak display actions to better preserve defaults
Date: Fri, 23 Feb 2024 13:00:53 -0500 (EST)

branch: elpa/mastodon
commit 3d558edff6ae59e487b2bfe189ff4445841c5604
Author: Rahguzar <rahguzar@zohomail.eu>
Commit: Rahguzar <rahguzar@zohomail.eu>

    Tweak display actions to better preserve defaults
---
 lisp/mastodon.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index 2ab3bc3b58..20b252fcb3 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -289,7 +289,7 @@ See `mastodon-toot-display-orig-in-reply-buffer'.")
                               (buffer-list))))) ; catch any other masto buffer
     (mastodon-return-credential-account :force)
     (if buffer
-        (display-buffer buffer)
+        (display-buffer buffer '(display-buffer-same-window))
       (mastodon-tl--get-home-timeline)
       (message "Loading Mastodon account %s on %s..."
                (mastodon-auth--user-acct)
@@ -335,7 +335,7 @@ from the server and load anew."
                   "*mastodon-notifications*")))
     (if (and (not force)
              (get-buffer buffer))
-        (progn (display-buffer buffer)
+        (progn (display-buffer buffer '(display-buffer-same-window))
                (mastodon-tl--update))
       (message "Loading your notifications...")
       (mastodon-tl--init-sync (or buffer-name "notifications")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]