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

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

[elpa] externals/ement 83b4c64c5c 08/13: Change: Use switch-to-buffer


From: ELPA Syncer
Subject: [elpa] externals/ement 83b4c64c5c 08/13: Change: Use switch-to-buffer
Date: Fri, 8 Sep 2023 06:58:07 -0400 (EDT)

branch: externals/ement
commit 83b4c64c5cb7f6e93000f5be4f5ee9a9b8f1c3ca
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>

    Change: Use switch-to-buffer
---
 ement-notifications.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ement-notifications.el b/ement-notifications.el
index d7623562a3..94c43fd9c0 100644
--- a/ement-notifications.el
+++ b/ement-notifications.el
@@ -100,7 +100,7 @@ to `ement-api', which see."
                      :only (when current-prefix-arg
                              "highlight")))
   (if-let ((buffer (get-buffer "*Ement Notifications*")))
-      (pop-to-buffer buffer)
+      (switch-to-buffer buffer)
     (let ((endpoint "notifications")
           (params (remq nil
                         (list (when from
@@ -121,7 +121,7 @@ to `ement-api', which see."
                do (run-hook-with-args 'ement-notifications-hook
                                       session (ement-notifications--make 
notification)))
       (ement-room--insert-ts-headers)
-      (pop-to-buffer (current-buffer)))))
+      (switch-to-buffer (current-buffer)))))
 
 (defun ement-notifications-scroll-down-command ()
   "Scroll down, and load NUMBER earlier messages when at top."



reply via email to

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