diff options
| author | Eli Zaretskii | 2022-04-09 12:17:49 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2022-04-09 12:17:49 +0300 |
| commit | 9dd44505b1dd3564deb8964372ab8a1d1021cb33 (patch) | |
| tree | ae220448e004b9e2f461f107b8d2f23989f18b66 /src | |
| parent | 24a6c7c8c01a607c4cb60f72f762cfa9de3adc48 (diff) | |
| download | emacs-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.c | 9 |
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. */) | |||
| 1850 | DEFUN ("set-window-start", Fset_window_start, Sset_window_start, 2, 3, 0, | 1850 | DEFUN ("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. |
| 1852 | WINDOW must be a live window and defaults to the selected one. Return | 1852 | WINDOW must be a live window and defaults to the selected one. Return |
| 1853 | POS. Optional third arg NOFORCE non-nil inhibits next redisplay from | 1853 | POS. |
| 1854 | overriding motion of point in order to display at this exact start. | 1854 | |
| 1855 | Optional third arg NOFORCE non-nil prevents next redisplay from | ||
| 1856 | moving point if displaying the window at POS makes point invisible; | ||
| 1857 | redisplay will then choose the WINDOW's start position by itself in | ||
| 1858 | that case, i.e. it will disregard POS if adhering to it will make | ||
| 1859 | point not visible in the window. | ||
| 1855 | 1860 | ||
| 1856 | For reliable setting of WINDOW start position, make sure point is | 1861 | For reliable setting of WINDOW start position, make sure point is |
| 1857 | at a position that will be visible when that start is in effect, | 1862 | at a position that will be visible when that start is in effect, |