aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Roberts2005-06-27 00:17:06 +0000
committerNick Roberts2005-06-27 00:17:06 +0000
commit007c55a45ff5b367b3a9932c13cc3186fe8a4b22 (patch)
treeca71993e2933bdaf4f3e6eef7b012e4f36f81621
parent32da5de94abdef90f18e5ff0a6bccee756d6e863 (diff)
downloademacs-007c55a45ff5b367b3a9932c13cc3186fe8a4b22.tar.gz
emacs-007c55a45ff5b367b3a9932c13cc3186fe8a4b22.zip
(gud-filter): Add missing argument to
with-selected-window.
-rw-r--r--lisp/progmodes/gud.el5
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.")
2534 ;; This must be outside of the save-excursion 2534 ;; This must be outside of the save-excursion
2535 ;; in case the source file is our current buffer. 2535 ;; in case the source file is our current buffer.
2536 (if process-window 2536 (if process-window
2537 (with-selected-window 2537 (progn
2538 (gud-display-frame)) 2538 (with-selected-window process-window
2539 (gud-display-frame)))
2539 ;; We have to be in the proper buffer, (process-buffer proc), 2540 ;; We have to be in the proper buffer, (process-buffer proc),
2540 ;; but not in a save-excursion, because that would restore point. 2541 ;; but not in a save-excursion, because that would restore point.
2541 (with-current-buffer (process-buffer proc) 2542 (with-current-buffer (process-buffer proc)