aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2002-02-05 18:05:32 +0000
committerEli Zaretskii2002-02-05 18:05:32 +0000
commit7ff24607890b0212aae203b9e10cec005b207e05 (patch)
tree26a49a48b674d72d8702273a5a88b097988bb9ad
parentcfdc786da96c6baba36cd135d3adf93d48dc4a8a (diff)
downloademacs-7ff24607890b0212aae203b9e10cec005b207e05.tar.gz
emacs-7ff24607890b0212aae203b9e10cec005b207e05.zip
(gud-refresh): Call recenter only after we are sure we
are in the right window.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/gud.el4
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c8f68e1e0fb..b2b7ef7e12b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12002-02-05 Eli Zaretskii <eliz@is.elta.co.il>
2
3 * gud.el (gud-refresh): Call recenter only after we are sure we
4 are in the right window.
5
12002-02-05 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 62002-02-05 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
2 7
3 * cus-start.el (x-use-underline-position-properties): 8 * cus-start.el (x-use-underline-position-properties):
diff --git a/lisp/gud.el b/lisp/gud.el
index 28f8233322f..13acc233690 100644
--- a/lisp/gud.el
+++ b/lisp/gud.el
@@ -2512,9 +2512,9 @@ Obeying it means displaying in another window the specified file and line."
2512(defun gud-refresh (&optional arg) 2512(defun gud-refresh (&optional arg)
2513 "Fix up a possibly garbled display, and redraw the arrow." 2513 "Fix up a possibly garbled display, and redraw the arrow."
2514 (interactive "P") 2514 (interactive "P")
2515 (recenter arg)
2516 (or gud-last-frame (setq gud-last-frame gud-last-last-frame)) 2515 (or gud-last-frame (setq gud-last-frame gud-last-last-frame))
2517 (gud-display-frame)) 2516 (gud-display-frame)
2517 (recenter arg))
2518 2518
2519;;; Code for parsing expressions out of C code. The single entry point is 2519;;; Code for parsing expressions out of C code. The single entry point is
2520;;; find-c-expr, which tries to return an lvalue expression from around point. 2520;;; find-c-expr, which tries to return an lvalue expression from around point.