Commit 007c55a4 authored by Nick Roberts's avatar Nick Roberts
Browse files

(gud-filter): Add missing argument to

with-selected-window.
parent 32da5de9
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment