]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fset_window_point): Remove test for
authorGerd Moellmann <gerd@gnu.org>
Fri, 15 Dec 2000 15:06:35 +0000 (15:06 +0000)
committerGerd Moellmann <gerd@gnu.org>
Fri, 15 Dec 2000 15:06:35 +0000 (15:06 +0000)
cursor_in_non_selected_windows.

src/window.c

index af46c8177073598c9da67cb895e33e7040ff0dd6..b407fac9bbe301ec95d32ad708db21e94145b99a 100644 (file)
@@ -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;