aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorKim F. Storm2005-06-05 17:19:55 +0000
committerKim F. Storm2005-06-05 17:19:55 +0000
commit98f4a29ed64ec93f04324919c0789b10925aa6d4 (patch)
treede82083e2f4d3325424ac8c37b779bc712c95db2 /lisp
parent17a7c5c2b024a97106c865f76e2cbd3b90591615 (diff)
downloademacs-98f4a29ed64ec93f04324919c0789b10925aa6d4.tar.gz
emacs-98f4a29ed64ec93f04324919c0789b10925aa6d4.zip
Add comment to line-move re. sit-for.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/simple.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index ddd2b752a37..6d6c3806889 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -3365,6 +3365,8 @@ Outline mode sets this."
3365 (set-window-vscroll nil 0) 3365 (set-window-vscroll nil 0)
3366 (when (line-move-1 arg noerror to-end) 3366 (when (line-move-1 arg noerror to-end)
3367 (when (not forward) 3367 (when (not forward)
3368 ;; Update display before calling pos-visible-in-window-p,
3369 ;; because it depends on window-start being up-to-date.
3368 (sit-for 0) 3370 (sit-for 0)
3369 (if (and (setq part (nth 2 (pos-visible-in-window-p 3371 (if (and (setq part (nth 2 (pos-visible-in-window-p
3370 (line-beginning-position) nil t))) 3372 (line-beginning-position) nil t)))