diff options
author | Andreas Schwab <schwab@suse.de> | 2005-06-30 21:10:27 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2005-06-30 21:10:27 +0000 |
commit | 0a0157ba2ca8e3fade0f7f225cdfd125573e59d6 (patch) | |
tree | e2a5e3f2487a50236b01fe94b2bc4a22c6acf863 /lisp/progmodes | |
parent | a6d0ae558ac9a0ebd3e084c883efdadcc00289a0 (diff) | |
download | emacs-0a0157ba2ca8e3fade0f7f225cdfd125573e59d6.tar.gz |
(gud-filter): Remove unneeded progn.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r-- | lisp/progmodes/gud.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index dc7e64e6e35..fd8bfeb5d72 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el @@ -4,7 +4,7 @@ ;; Maintainer: FSF ;; Keywords: unix, tools -;; Copyright (C) 1992,93,94,95,96,1998,2000,02,03,04 Free Software Foundation, Inc. +;; Copyright (C) 1992,93,94,95,96,1998,2000,02,03,04,05 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. @@ -2534,9 +2534,8 @@ 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 - (progn (with-selected-window process-window - (gud-display-frame))) + (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) |