Index: emacs/lisp/simple.el
diff -c emacs/lisp/simple.el:1.725 emacs/lisp/simple.el:1.726
*** emacs/lisp/simple.el:1.725 Sat Jun 4 22:04:29 2005
--- emacs/lisp/simple.el Sun Jun 5 17:19:55 2005
***************
*** 3365,3370 ****
--- 3365,3372 ----
(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)))
_______________________________________________
Emacs-diffs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-diffs