# HG changeset patch # User Nick Roberts # Date 1101483877 0 # Node ID 09b3936162228d01769e9e966b6467242e2d536e # Parent c655bc81dfc0a59f4659300898ad87290b8249b7 (gud-display-line): Use display-buffer for GDB-UI as for GUD. diff -r c655bc81dfc0 -r 09b393616222 lisp/progmodes/gud.el --- 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