# HG changeset patch # User Nick Roberts # Date 1119831426 0 # Node ID ac833c86f212f682fb6359d55e89a9f0eec0382d # Parent a3cb4d42f54e15323fd1f6a14754877e2c2c3d44 (gud-filter): Add missing argument to with-selected-window. diff -r a3cb4d42f54e -r ac833c86f212 lisp/progmodes/gud.el --- 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)