diff options
| author | Richard M. Stallman | 1996-11-10 00:26:03 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-11-10 00:26:03 +0000 |
| commit | 4d047f502e534fe0efa6b1db7ff7b615b8766673 (patch) | |
| tree | 2dbf2a593ff424f5a3db919c37e1b45e976e29bf /src/window.c | |
| parent | cf0df6ab1bfd10e29b9eee2a3c1f293f1b81a892 (diff) | |
| download | emacs-4d047f502e534fe0efa6b1db7ff7b615b8766673.tar.gz emacs-4d047f502e534fe0efa6b1db7ff7b615b8766673.zip | |
(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.") | |||
| 1564 | /* This computation used to temporarily move point, but that can | 1564 | /* This computation used to temporarily move point, but that can |
| 1565 | have unwanted side effects due to text properties. */ | 1565 | have unwanted side effects due to text properties. */ |
| 1566 | pos = *vmotion (startpos, -top, w); | 1566 | pos = *vmotion (startpos, -top, w); |
| 1567 | |||
| 1567 | Fset_marker (w->start, make_number (pos.bufpos), w->buffer); | 1568 | Fset_marker (w->start, make_number (pos.bufpos), w->buffer); |
| 1568 | w->start_at_line_beg = ((pos.bufpos == BEGV | 1569 | w->start_at_line_beg = ((pos.bufpos == BEGV |
| 1569 | || FETCH_CHAR (pos.bufpos - 1) == '\n') ? Qt | 1570 | || FETCH_CHAR (pos.bufpos - 1) == '\n') ? Qt |
| 1570 | : Qnil); | 1571 | : Qnil); |
| 1571 | /* We need to do this, so that the window-scroll-functions | 1572 | /* We need to do this, so that the window-scroll-functions |
| 1572 | get called. */ | 1573 | get called. */ |
| 1573 | w->force_start = Qt; | 1574 | w->optional_new_start = Qt; |
| 1574 | 1575 | ||
| 1575 | set_buffer_internal (obuf); | 1576 | set_buffer_internal (obuf); |
| 1576 | } | 1577 | } |