1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-22 18:35:09 +00:00

(gud-display-line): Only consider visible

frames when looking for source buffer.
This commit is contained in:
Nick Roberts 2008-04-29 00:44:47 +00:00
parent 72ba4f36c6
commit 1f38de120d

View File

@ -2689,10 +2689,10 @@ Obeying it means displaying in another window the specified file and line."
(window (and buffer
(or (get-buffer-window buffer)
(if (memq gud-minor-mode '(gdbmi gdba))
(or (if (get-buffer-window buffer 0)
(display-buffer buffer nil 0))
(or (if (get-buffer-window buffer 'visible)
(display-buffer buffer nil 'visible))
(unless (gdb-display-source-buffer buffer)
(gdb-display-buffer buffer nil))))
(gdb-display-buffer buffer nil 'visible))))
(display-buffer buffer))))
(pos))
(if buffer