Mercurial > emacs
changeset 58535:09b393616222
(gud-display-line): Use display-buffer
for GDB-UI as for GUD.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Fri, 26 Nov 2004 15:44:37 +0000 |
parents | c655bc81dfc0 |
children | f4b2f3f54b6a |
files | lisp/progmodes/gud.el |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/gud.el Fri Nov 26 15:41:22 2004 +0000 +++ b/lisp/progmodes/gud.el Fri Nov 26 15:44:37 2004 +0000 @@ -2587,9 +2587,7 @@ (with-current-buffer gud-comint-buffer (gud-find-file true-file))) (window (and buffer (or (get-buffer-window buffer) - (if (memq gud-minor-mode '(gdbmi gdba)) - (gdb-display-source-buffer buffer) - (display-buffer buffer))))) + (display-buffer buffer)))) (pos)) (if buffer (progn