Commit 799417bd authored by Gerd Moellmann's avatar Gerd Moellmann

(Fset_window_point): If displaying cursors in windows

other than the selected window, make sure redisplay updates
other windows to show the new value of point in the window.
parent a7a07b98
......@@ -898,6 +898,12 @@ DEFUN ("set-window-point", Fset_window_point, Sset_window_point, 2, 2, 0,
Fgoto_char (pos);
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))
++windows_or_buffers_changed;
return pos;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment