]> code.delx.au - gnu-emacs/commitdiff
(gud-filter): Add missing argument to
authorNick Roberts <nickrob@snap.net.nz>
Mon, 27 Jun 2005 00:17:06 +0000 (00:17 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Mon, 27 Jun 2005 00:17:06 +0000 (00:17 +0000)
with-selected-window.

lisp/progmodes/gud.el

index 471d3b308ec82df8c1d37fcbe003ab8eee1714ca..dc7e64e6e354ecdb9e0c48eb710ac510bb271225 100644 (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)