From: Nick Roberts Date: Fri, 26 Nov 2004 15:44:37 +0000 (+0000) Subject: (gud-display-line): Use display-buffer X-Git-Tag: ttn-vms-21-2-B4~3645 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1236e38628cf3c4f1053bdaec567bc4d6bf1eea9;p=emacs.git (gud-display-line): Use display-buffer for GDB-UI as for GUD. --- diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 37fe13ce585..2a40ae1aab6 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el @@ -2587,9 +2587,7 @@ Obeying it means displaying in another window the specified file and line." (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