changeset 63789:ac833c86f212

(gud-filter): Add missing argument to with-selected-window.
author Nick Roberts <nickrob@snap.net.nz>
date Mon, 27 Jun 2005 00:17:06 +0000
parents a3cb4d42f54e
children b5df2fc9aa4e
files lisp/progmodes/gud.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/gud.el	Mon Jun 27 00:15:34 2005 +0000
+++ b/lisp/progmodes/gud.el	Mon Jun 27 00:17:06 2005 +0000
@@ -2534,8 +2534,9 @@
 	    ;; 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)