From 0685cb3c076085a582acfac3cdb48c6c42b14ba1 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 15 Dec 2000 15:06:35 +0000 Subject: [PATCH] (Fset_window_point): Remove test for cursor_in_non_selected_windows. --- src/window.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/window.c b/src/window.c index af46c817707..b407fac9bbe 100644 --- a/src/window.c +++ b/src/window.c @@ -899,10 +899,9 @@ DEFUN ("set-window-point", Fset_window_point, Sset_window_point, 2, 2, 0, else set_marker_restricted (w->pointm, pos, w->buffer); - /* If displaying hollow box cursors in non-selected windows, we have - to make sure that redisplay updates the window to show the new - value of point. */ - if (cursor_in_non_selected_windows && !EQ (window, selected_window)) + /* We have to make sure that redisplay updates the window to show + the new value of point. */ + if (!EQ (window, selected_window)) ++windows_or_buffers_changed; return pos; -- 2.39.2