+2002-02-05 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * gud.el (gud-refresh): Call recenter only after we are sure we
+ are in the right window.
+
2002-02-05 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
* cus-start.el (x-use-underline-position-properties):
(defun gud-refresh (&optional arg)
"Fix up a possibly garbled display, and redraw the arrow."
(interactive "P")
- (recenter arg)
(or gud-last-frame (setq gud-last-frame gud-last-last-frame))
- (gud-display-frame))
+ (gud-display-frame)
+ (recenter arg))
\f
;;; Code for parsing expressions out of C code. The single entry point is
;;; find-c-expr, which tries to return an lvalue expression from around point.