aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRahguzar <rahguzar@zohomail.eu>2024-01-07 09:17:55 +0100
committerRahguzar <rahguzar@zohomail.eu>2024-01-07 10:38:27 +0100
commit3d558edff6ae59e487b2bfe189ff4445841c5604 (patch)
tree3ec09c90aee150154e75bd24075fcf5f90570f26 /lisp
parent6a5152b6cbbf69c46720732a847ca47504bf213f (diff)
Tweak display actions to better preserve defaults
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 2ab3bc3..20b252f 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")