1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-02 11:50:48 -08: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)