[Top][All Lists]

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

[elpa] externals/debbugs 889d1dc 263/311: Use pop-to-buffer-same-window

From: Stefan Monnier
Subject: [elpa] externals/debbugs 889d1dc 263/311: Use pop-to-buffer-same-window in debbugs-gnu-show-reports
Date: Sun, 29 Nov 2020 18:42:25 -0500 (EST)

branch: externals/debbugs
commit 889d1dc18939f3e56fadfa168b22d9da9e70b70f
Author: Michael Heerdegen <michael_heerdegen@web.de>
Commit: Michael Heerdegen <michael_heerdegen@web.de>

    Use pop-to-buffer-same-window in debbugs-gnu-show-reports
    * packages/debbugs/debbugs-gnu.el (debbugs-gnu-show-reports): Use
    'pop-to-buffer-same-window' instead of 'switch-to-buffer' to display
    bug reports so user can configure behavior via
    'display-buffer-alist' (Bug#36917).
 debbugs-gnu.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debbugs-gnu.el b/debbugs-gnu.el
index 25fb029..515129b 100644
--- a/debbugs-gnu.el
+++ b/debbugs-gnu.el
@@ -722,7 +722,7 @@ are taken from the cache instead."
     ;; rid of them.
     (when (get-buffer buffer-name)
       (kill-buffer buffer-name))
-    (switch-to-buffer (get-buffer-create buffer-name))
+    (pop-to-buffer-same-window (get-buffer-create buffer-name))
     ;; Print bug reports.

reply via email to

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