1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-05 11:45:45 +00:00

(gud-filter): Add missing argument to

with-selected-window.
This commit is contained in:
Nick Roberts 2005-06-27 00:17:06 +00:00
parent 32da5de94a
commit 007c55a45f

View File

@ -2534,8 +2534,9 @@ It is saved for when this flag is not set.")
;; This must be outside of the save-excursion
;; in case the source file is our current buffer.
(if process-window
(with-selected-window
(gud-display-frame))
(progn
(with-selected-window process-window
(gud-display-frame)))
;; We have to be in the proper buffer, (process-buffer proc),
;; but not in a save-excursion, because that would restore point.
(with-current-buffer (process-buffer proc)