aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2022-04-09 12:17:49 +0300
committerEli Zaretskii2022-04-09 12:17:49 +0300
commit9dd44505b1dd3564deb8964372ab8a1d1021cb33 (patch)
treeae220448e004b9e2f461f107b8d2f23989f18b66 /src
parent24a6c7c8c01a607c4cb60f72f762cfa9de3adc48 (diff)
downloademacs-9dd44505b1dd3564deb8964372ab8a1d1021cb33.tar.gz
emacs-9dd44505b1dd3564deb8964372ab8a1d1021cb33.zip
; * src/window.c (Fset_window_start): Clarify the effect of NOFORCE.
Diffstat (limited to 'src')
-rw-r--r--src/window.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index 1e7c26b82e9..32e486f9f95 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1850,8 +1850,13 @@ Return POS. */)
1850DEFUN ("set-window-start", Fset_window_start, Sset_window_start, 2, 3, 0, 1850DEFUN ("set-window-start", Fset_window_start, Sset_window_start, 2, 3, 0,
1851 doc: /* Make display in WINDOW start at position POS in WINDOW's buffer. 1851 doc: /* Make display in WINDOW start at position POS in WINDOW's buffer.
1852WINDOW must be a live window and defaults to the selected one. Return 1852WINDOW must be a live window and defaults to the selected one. Return
1853POS. Optional third arg NOFORCE non-nil inhibits next redisplay from 1853POS.
1854overriding motion of point in order to display at this exact start. 1854
1855Optional third arg NOFORCE non-nil prevents next redisplay from
1856moving point if displaying the window at POS makes point invisible;
1857redisplay will then choose the WINDOW's start position by itself in
1858that case, i.e. it will disregard POS if adhering to it will make
1859point not visible in the window.
1855 1860
1856For reliable setting of WINDOW start position, make sure point is 1861For reliable setting of WINDOW start position, make sure point is
1857at 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,