emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/progmodes/gud.el


From: Nick Roberts
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/gud.el
Date: Sun, 26 Jun 2005 20:17:06 -0400

Index: emacs/lisp/progmodes/gud.el
diff -c emacs/lisp/progmodes/gud.el:1.44 emacs/lisp/progmodes/gud.el:1.45
*** emacs/lisp/progmodes/gud.el:1.44    Sat Jun 25 13:52:15 2005
--- emacs/lisp/progmodes/gud.el Mon Jun 27 00:17:06 2005
***************
*** 2534,2541 ****
            ;; 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))
              ;; 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)
--- 2534,2542 ----
            ;; 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)))
              ;; 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)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]