[Top][All Lists]

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

[elpa] master a182c9c: Use pop-to-buffer-same-window in debbugs-gnu-show

From: Michael Heerdegen
Subject: [elpa] master a182c9c: Use pop-to-buffer-same-window in debbugs-gnu-show-reports
Date: Wed, 21 Aug 2019 08:34:03 -0400 (EDT)

branch: master
commit a182c9cb5d07335e8ca111b12572da9ba880804d
Author: Michael Heerdegen <address@hidden>
Commit: Michael Heerdegen <address@hidden>

    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).
 packages/debbugs/debbugs-gnu.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/debbugs/debbugs-gnu.el b/packages/debbugs/debbugs-gnu.el
index 25fb029..515129b 100644
--- a/packages/debbugs/debbugs-gnu.el
+++ b/packages/debbugs/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]