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 | 3a43a86ebfdfb4e842b36934f3bbb7b10e415d95 (patch) | |
tree | f2f94ec1cb82c183f2b7c746405a5ce8c3873dfb | |
parent | c23fc555f654a995a6404f71d5aa2b1f482b3094 (diff) | |
download | emacs-3a43a86ebfdfb4e842b36934f3bbb7b10e415d95.tar.gz |
(Fdelete_other_windows): Set optional_new_start instead of force_start.
-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); } |