diff options
| author | Eli Zaretskii | 2022-05-05 08:57:49 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2022-05-05 08:57:49 +0300 |
| commit | 3b9e60ba2fad4330682e6fdd15899f0f227a40d7 (patch) | |
| tree | 95ea65ee5515953c198b6057b4782ae76a18c24f /src | |
| parent | 3b6338c8c351cce721f2f1aa115cadc401179d5c (diff) | |
| download | emacs-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.c | 8 |
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. | |||
| 1861 | For reliable setting of WINDOW start position, make sure point is | 1861 | For reliable setting of WINDOW start position, make sure point is |
| 1862 | 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, |
| 1863 | otherwise there's a chance POS will be disregarded, e.g., if point | 1863 | otherwise there's a chance POS will be disregarded, e.g., if point |
| 1864 | winds up in a partially-visible line. */) | 1864 | winds up in a partially-visible line. |
| 1865 | |||
| 1866 | The setting of the WINDOW's start position takes effect during the | ||
| 1867 | next redisplay cycle, not immediately. If NOFORCE is nil or | ||
| 1868 | omitted, forcing the display of WINDOW to start at POS cancels | ||
| 1869 | any setting of WINDOW's vertical scroll (\"vscroll\") amount | ||
| 1870 | set 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); |