Commit 4d047f50 authored by Richard M. Stallman's avatar Richard M. Stallman

(Fdelete_other_windows): Set optional_new_start instead of force_start.

parent cf0df6ab
......@@ -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);
}
......
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