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)


_______________________________________________
Emacs-diffs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-diffs

Reply via email to