3365 |
(set-window-vscroll nil 0) |
(set-window-vscroll nil 0) |
3366 |
(when (line-move-1 arg noerror to-end) |
(when (line-move-1 arg noerror to-end) |
3367 |
(when (not forward) |
(when (not forward) |
3368 |
|
;; Update display before calling pos-visible-in-window-p, |
3369 |
|
;; because it depends on window-start being up-to-date. |
3370 |
(sit-for 0) |
(sit-for 0) |
3371 |
(if (and (setq part (nth 2 (pos-visible-in-window-p |
(if (and (setq part (nth 2 (pos-visible-in-window-p |
3372 |
(line-beginning-position) nil t))) |
(line-beginning-position) nil t))) |