diff options
author | Nick Roberts <nickrob@snap.net.nz> | 2005-06-27 00:17:06 +0000 |
---|---|---|
committer | Nick Roberts <nickrob@snap.net.nz> | 2005-06-27 00:17:06 +0000 |
commit | 007c55a45ff5b367b3a9932c13cc3186fe8a4b22 (patch) | |
tree | ca71993e2933bdaf4f3e6eef7b012e4f36f81621 /lisp/progmodes | |
parent | 32da5de94abdef90f18e5ff0a6bccee756d6e863 (diff) | |
download | emacs-007c55a45ff5b367b3a9932c13cc3186fe8a4b22.tar.gz |
(gud-filter): Add missing argument to
with-selected-window.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r-- | lisp/progmodes/gud.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 471d3b308ec..dc7e64e6e35 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el @@ -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) |