diff options
author | Stefan Kangas <stefan@marxist.se> | 2022-05-06 06:30:28 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2022-05-06 06:30:28 +0200 |
commit | 7609c6cadb071df8eeded71263c66c5ca94860b3 (patch) | |
tree | 56fde4887258459d1e252f974bc8ac5dd3050047 /src/window.c | |
parent | 8fe3d46d35b7cb876c2b50048eb709c086c5d45a (diff) | |
parent | 69c56cbe6ed56024440203181dda2d6fee6dc9f4 (diff) | |
download | emacs-7609c6cadb071df8eeded71263c66c5ca94860b3.tar.gz emacs-7609c6cadb071df8eeded71263c66c5ca94860b3.tar.bz2 emacs-7609c6cadb071df8eeded71263c66c5ca94860b3.zip |
Merge from origin/emacs-28
69c56cbe6e ; * src/w32notify.c: Fix a typo in a comment.
3b9e60ba2f ; * src/window.c (Fset_window_start): Mention the effect o...
Diffstat (limited to 'src/window.c')
-rw-r--r-- | src/window.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c index 6d28384eeb7..15d6cf94b0e 100644 --- a/src/window.c +++ b/src/window.c @@ -1868,7 +1868,13 @@ point not visible in the window. For reliable setting of WINDOW start position, make sure point is at a position that will be visible when that start is in effect, otherwise there's a chance POS will be disregarded, e.g., if point -winds up in a partially-visible line. */) +winds up in a partially-visible line. + +The setting of the WINDOW's start position takes effect during the +next redisplay cycle, not immediately. If NOFORCE is nil or +omitted, forcing the display of WINDOW to start at POS cancels +any setting of WINDOW's vertical scroll (\"vscroll\") amount +set by `set-window-vscroll' and by scrolling functions. */) (Lisp_Object window, Lisp_Object pos, Lisp_Object noforce) { register struct window *w = decode_live_window (window); |