From: Dima Kogan Date: Wed, 18 Mar 2015 07:15:54 +0000 (+0100) Subject: Have gud-display-line not display source buffer in gud window. X-Git-Tag: emacs-25.0.90~2564^2~135 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fd93edbb1cabfdf0c732dbb0c6892a515b406a65;p=emacs.git 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) --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e365346c972..d61a0a67673 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2015-03-18 Dima Kogan + + 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 * emacs-lisp/byte-run.el (macro-declarations-alist): New diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 29a6dc63a68..9ab0667b5ba 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