1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 12:40:49 -08:00

(Fdelete_other_windows): Set optional_new_start instead of force_start.

This commit is contained in:
Richard M. Stallman 1996-11-10 00:26:03 +00:00
parent cf0df6ab1b
commit 4d047f502e

View file

@ -1564,13 +1564,14 @@ value is reasonable when this function is called.")
/* This computation used to temporarily move point, but that can
have unwanted side effects due to text properties. */
pos = *vmotion (startpos, -top, w);
Fset_marker (w->start, make_number (pos.bufpos), w->buffer);
w->start_at_line_beg = ((pos.bufpos == BEGV
|| FETCH_CHAR (pos.bufpos - 1) == '\n') ? Qt
: Qnil);
/* We need to do this, so that the window-scroll-functions
get called. */
w->force_start = Qt;
w->optional_new_start = Qt;
set_buffer_internal (obuf);
}