Add comment to line-move re. sit-for.
This commit is contained in:
parent
17a7c5c2b0
commit
98f4a29ed6
1 changed files with 2 additions and 0 deletions
|
@ -3365,6 +3365,8 @@ Outline mode sets this."
|
|||
(set-window-vscroll nil 0)
|
||||
(when (line-move-1 arg noerror to-end)
|
||||
(when (not forward)
|
||||
;; Update display before calling pos-visible-in-window-p,
|
||||
;; because it depends on window-start being up-to-date.
|
||||
(sit-for 0)
|
||||
(if (and (setq part (nth 2 (pos-visible-in-window-p
|
||||
(line-beginning-position) nil t)))
|
||||
|
|
Loading…
Add table
Reference in a new issue