Commit 98f4a29e authored by Kim F. Storm's avatar Kim F. Storm
Browse files

Add comment to line-move re. sit-for.

parent 17a7c5c2
......@@ -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)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment