diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-04-16 13:43:33 -0400 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-04-16 13:43:33 -0400 |
commit | 5890b80bca13b48c6c3fd26ac2721db7f3a3d013 (patch) | |
tree | ce35c26d11230e6fa9d512b6ab1ada22ac4d7109 /src | |
parent | 6339fcffa1d409fc8c7a82867a89547c453d8bc1 (diff) | |
parent | 84a285772201d077274dfc932524bbdf0d56848a (diff) | |
download | emacs-5890b80bca13b48c6c3fd26ac2721db7f3a3d013.tar.gz emacs-5890b80bca13b48c6c3fd26ac2721db7f3a3d013.tar.bz2 emacs-5890b80bca13b48c6c3fd26ac2721db7f3a3d013.zip |
Merge from origin/emacs-28
84a2857722 Fix scrolling of the stack window in Calc
9dd44505b1 ; * src/window.c (Fset_window_start): Clarify the effect o...
24a6c7c8c0 Update and fix instructions and scripts for updating the W...
886339747b Extend tramp-archive-test45-auto-load
ff997ad786 Ensure local `default-directory' in Tramp when needed
4f27588a16 Clarify "idleness" in the ELisp manual
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 aed698d2a37..4cca60e23d9 100644 --- a/src/window.c +++ b/src/window.c @@ -1852,8 +1852,13 @@ Return POS. */) DEFUN ("set-window-start", Fset_window_start, Sset_window_start, 2, 3, 0, doc: /* Make display in WINDOW start at position POS in WINDOW's buffer. WINDOW must be a live window and defaults to the selected one. Return -POS. Optional third arg NOFORCE non-nil inhibits next redisplay from -overriding motion of point in order to display at this exact start. +POS. + +Optional third arg NOFORCE non-nil prevents next redisplay from +moving point if displaying the window at POS makes point invisible; +redisplay will then choose the WINDOW's start position by itself in +that case, i.e. it will disregard POS if adhering to it will make +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, |