diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-11-10 00:26:03 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-11-10 00:26:03 +0000 |
commit | 4d047f502e534fe0efa6b1db7ff7b615b8766673 (patch) | |
tree | 2dbf2a593ff424f5a3db919c37e1b45e976e29bf /src/window.c | |
parent | cf0df6ab1bfd10e29b9eee2a3c1f293f1b81a892 (diff) | |
download | emacs-4d047f502e534fe0efa6b1db7ff7b615b8766673.tar.gz |
(Fdelete_other_windows): Set optional_new_start instead of force_start.
Diffstat (limited to 'src/window.c')
-rw-r--r-- | src/window.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c index f23b6e3fb31..6f8cd8188f3 100644 --- a/src/window.c +++ b/src/window.c @@ -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); } |