diff options
| author | Eli Zaretskii | 2002-02-05 18:05:32 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2002-02-05 18:05:32 +0000 |
| commit | 7ff24607890b0212aae203b9e10cec005b207e05 (patch) | |
| tree | 26a49a48b674d72d8702273a5a88b097988bb9ad | |
| parent | cfdc786da96c6baba36cd135d3adf93d48dc4a8a (diff) | |
| download | emacs-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/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gud.el | 4 |
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 @@ | |||
| 1 | 2002-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 | |||
| 1 | 2002-02-05 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 6 | 2002-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. |