Fix weird error with page down
This commit is contained in:
parent
0e3ebe487c
commit
e7867aa4d0
1 changed files with 3 additions and 2 deletions
|
@ -863,8 +863,9 @@ Additionally ensures correct line numbers on the way, as a bonus."
|
||||||
(cond ((or (null (bottom-line view))
|
(cond ((or (null (bottom-line view))
|
||||||
(eql line (bottom-line view)))
|
(eql line (bottom-line view)))
|
||||||
(feep))
|
(feep))
|
||||||
((< (view-line-number view (bottom-line view))
|
((and (line-in-view (bottom-line view) view)
|
||||||
(height view))
|
(< (view-line-number view (bottom-line view))
|
||||||
|
(height view)))
|
||||||
(setf line (bottom-line view))
|
(setf line (bottom-line view))
|
||||||
(update-buffer-cursor buffer))
|
(update-buffer-cursor buffer))
|
||||||
(t
|
(t
|
||||||
|
|
Loading…
Add table
Reference in a new issue