diff options
author | Dima Kogan <dima@secretsauce.net> | 2015-03-18 08:15:54 +0100 |
---|---|---|
committer | Martin Rudalics <rudalics@gmx.at> | 2015-03-18 08:15:54 +0100 |
commit | fd93edbb1cabfdf0c732dbb0c6892a515b406a65 (patch) | |
tree | 4a82d8586d59b5001edd493db636dd6d37653439 /lisp/progmodes/gud.el | |
parent | 9fdc166ee0ca212f7d5bf1cd9e1177932b0cd9aa (diff) | |
download | emacs-fd93edbb1cabfdf0c732dbb0c6892a515b406a65.tar.gz |
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)
Diffstat (limited to 'lisp/progmodes/gud.el')
-rw-r--r-- | lisp/progmodes/gud.el | 2 |
1 files changed, 1 insertions, 1 deletions
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 |