diff options
| author | Richard M. Stallman | 1995-10-12 18:00:00 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-10-12 18:00:00 +0000 |
| commit | 80622eecc9b33c7c4cecd677b1d82c705b2aaef1 (patch) | |
| tree | 08b8ae8a7e39f7f277c669922145c4145fd61703 /src/window.c | |
| parent | e91b8e7ef70db2b88e71ddbe7e1e61f8b37af0e2 (diff) | |
| download | emacs-80622eecc9b33c7c4cecd677b1d82c705b2aaef1.tar.gz emacs-80622eecc9b33c7c4cecd677b1d82c705b2aaef1.zip | |
(Fdelete_other_windows): Set w->force_start.
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c index 2b3e88b55d6..2896c2224b3 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -1543,6 +1543,9 @@ value is reasonable when this function is called.") | |||
| 1543 | w->start_at_line_beg = ((pos.bufpos == BEGV | 1543 | w->start_at_line_beg = ((pos.bufpos == BEGV |
| 1544 | || FETCH_CHAR (pos.bufpos - 1) == '\n') ? Qt | 1544 | || FETCH_CHAR (pos.bufpos - 1) == '\n') ? Qt |
| 1545 | : Qnil); | 1545 | : Qnil); |
| 1546 | /* We need to do this, so that the window-scroll-functions | ||
| 1547 | get called. */ | ||
| 1548 | w->force_start = Qt; | ||
| 1546 | 1549 | ||
| 1547 | set_buffer_internal (obuf); | 1550 | set_buffer_internal (obuf); |
| 1548 | } | 1551 | } |
| @@ -2548,7 +2551,7 @@ window_scroll (window, n, noerror) | |||
| 2548 | Lisp_Object bolp, nmoved; | 2551 | Lisp_Object bolp, nmoved; |
| 2549 | 2552 | ||
| 2550 | /* Always set force_start so that redisplay_window will run | 2553 | /* Always set force_start so that redisplay_window will run |
| 2551 | thw window-start-functions. */ | 2554 | thw window-scroll-functions. */ |
| 2552 | w->force_start = Qt; | 2555 | w->force_start = Qt; |
| 2553 | 2556 | ||
| 2554 | XSETFASTINT (tem, PT); | 2557 | XSETFASTINT (tem, PT); |