diff options
| author | Nick Roberts | 2004-11-26 15:44:37 +0000 |
|---|---|---|
| committer | Nick Roberts | 2004-11-26 15:44:37 +0000 |
| commit | 1236e38628cf3c4f1053bdaec567bc4d6bf1eea9 (patch) | |
| tree | 29cad59df31de8e812a92acc406900552944a461 | |
| parent | f2dab427f18ae5c11523cf15f08ab14875f95588 (diff) | |
| download | emacs-1236e38628cf3c4f1053bdaec567bc4d6bf1eea9.tar.gz emacs-1236e38628cf3c4f1053bdaec567bc4d6bf1eea9.zip | |
(gud-display-line): Use display-buffer
for GDB-UI as for GUD.
| -rw-r--r-- | lisp/progmodes/gud.el | 4 |
1 files changed, 1 insertions, 3 deletions
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." | |||
| 2587 | (with-current-buffer gud-comint-buffer | 2587 | (with-current-buffer gud-comint-buffer |
| 2588 | (gud-find-file true-file))) | 2588 | (gud-find-file true-file))) |
| 2589 | (window (and buffer (or (get-buffer-window buffer) | 2589 | (window (and buffer (or (get-buffer-window buffer) |
| 2590 | (if (memq gud-minor-mode '(gdbmi gdba)) | 2590 | (display-buffer buffer)))) |
| 2591 | (gdb-display-source-buffer buffer) | ||
| 2592 | (display-buffer buffer))))) | ||
| 2593 | (pos)) | 2591 | (pos)) |
| 2594 | (if buffer | 2592 | (if buffer |
| 2595 | (progn | 2593 | (progn |