diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/simple.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 35bb472be03..0255f69e427 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -6935,11 +6935,13 @@ The value is a floating-point number." (or (null rbot) (= rbot 0))) nil) ;; If cursor is not in the bottom scroll margin, and the - ;; current line is not too tall, move forward. + ;; current line is not too tall, or if there's a continuation + ;; line below this one, move forward. ((and (or (null this-height) (<= this-height winh)) vpos (> vpos 0) - (< py last-line)) + (or (< py last-line) + (display--line-is-continued-p))) nil) ;; When already vscrolled, we vscroll some more if we can, ;; or clear vscroll and move forward at end of tall image. |