mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-11 08:30:45 -08:00
; * src/window.c (Fset_window_start): Clarify the effect of NOFORCE.
This commit is contained in:
parent
24a6c7c8c0
commit
9dd44505b1
1 changed files with 7 additions and 2 deletions
|
|
@ -1850,8 +1850,13 @@ Return POS. */)
|
||||||
DEFUN ("set-window-start", Fset_window_start, Sset_window_start, 2, 3, 0,
|
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.
|
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
|
WINDOW must be a live window and defaults to the selected one. Return
|
||||||
POS. Optional third arg NOFORCE non-nil inhibits next redisplay from
|
POS.
|
||||||
overriding motion of point in order to display at this exact start.
|
|
||||||
|
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
|
For reliable setting of WINDOW start position, make sure point is
|
||||||
at a position that will be visible when that start is in effect,
|
at a position that will be visible when that start is in effect,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue