aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2022-05-05 08:57:49 +0300
committerEli Zaretskii2022-05-05 08:57:49 +0300
commit3b9e60ba2fad4330682e6fdd15899f0f227a40d7 (patch)
tree95ea65ee5515953c198b6057b4782ae76a18c24f /src
parent3b6338c8c351cce721f2f1aa115cadc401179d5c (diff)
downloademacs-3b9e60ba2fad4330682e6fdd15899f0f227a40d7.tar.gz
emacs-3b9e60ba2fad4330682e6fdd15899f0f227a40d7.zip
; * src/window.c (Fset_window_start): Mention the effect on vscroll.
Diffstat (limited to 'src')
-rw-r--r--src/window.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index 32e486f9f95..cbb2a9e0e1c 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1861,7 +1861,13 @@ point not visible in the window.
1861For reliable setting of WINDOW start position, make sure point is 1861For reliable setting of WINDOW start position, make sure point is
1862at a position that will be visible when that start is in effect, 1862at a position that will be visible when that start is in effect,
1863otherwise there's a chance POS will be disregarded, e.g., if point 1863otherwise there's a chance POS will be disregarded, e.g., if point
1864winds up in a partially-visible line. */) 1864winds up in a partially-visible line.
1865
1866The setting of the WINDOW's start position takes effect during the
1867next redisplay cycle, not immediately. If NOFORCE is nil or
1868omitted, forcing the display of WINDOW to start at POS cancels
1869any setting of WINDOW's vertical scroll (\"vscroll\") amount
1870set by `set-window-vscroll' and by scrolling functions. */)
1865 (Lisp_Object window, Lisp_Object pos, Lisp_Object noforce) 1871 (Lisp_Object window, Lisp_Object pos, Lisp_Object noforce)
1866{ 1872{
1867 register struct window *w = decode_live_window (window); 1873 register struct window *w = decode_live_window (window);