emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master fd93edb: Have gud-display-line not display source b


From: Martin Rudalics
Subject: [Emacs-diffs] master fd93edb: Have gud-display-line not display source buffer in gud window.
Date: Wed, 18 Mar 2015 07:17:23 +0000

branch: master
commit fd93edbb1cabfdf0c732dbb0c6892a515b406a65
Author: Dima Kogan <address@hidden>
Commit: Martin Rudalics <address@hidden>

    Have gud-display-line not display source buffer in gud window.
    
    * lisp/progmodes/gud.el (gud-display-line): Make display-buffer
    not reuse selected window.  (Bug#17675, Bug#19901, Bug#20034)
---
 lisp/ChangeLog        |    6 ++++++
 lisp/progmodes/gud.el |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e365346..d61a0a6 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2015-03-18  Dima Kogan  <address@hidden>
+
+       Have gud-display-line not display source buffer in gud window.
+       * lisp/progmodes/gud.el (gud-display-line): Make display-buffer
+       not reuse selected window.  (Bug#17675, Bug#19901, Bug#20034)
+
 2015-03-17  Tassilo Horn  <address@hidden>
 
        * emacs-lisp/byte-run.el (macro-declarations-alist): New
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el
index 29a6dc6..9ab0667 100644
--- a/lisp/progmodes/gud.el
+++ b/lisp/progmodes/gud.el
@@ -2813,7 +2813,7 @@ Obeying it means displaying in another window the 
specified file and line."
            (gud-find-file true-file)))
         (window (and buffer
                      (or (get-buffer-window buffer)
-                         (display-buffer buffer))))
+                         (display-buffer buffer '(nil (inhibit-same-window . 
t))))))
         (pos))
     (when buffer
       (with-current-buffer buffer



reply via email to

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