mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-28 10:56:36 +00:00
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)
This commit is contained in:
parent
9fdc166ee0
commit
fd93edbb1c
@ -1,3 +1,9 @@
|
||||
2015-03-18 Dima Kogan <dima@secretsauce.net>
|
||||
|
||||
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 <tsdh@gnu.org>
|
||||
|
||||
* emacs-lisp/byte-run.el (macro-declarations-alist): New
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user