Fix typo in 'eat--t-scroll-up'
* eat.el (eat--t-scroll-up): Replace 'scroll-begin' with 'scroll-end' in '(< scroll-end (eat--t-disp-width disp))', since this will always evaluate to t, and thus it was most probably a typo.
This commit is contained in:
parent
ab0ac1ff76
commit
dfa7e02557
1 changed files with 2 additions and 1 deletions
3
eat.el
3
eat.el
|
@ -1100,7 +1100,8 @@ accordingly."
|
|||
(insert ?\n))
|
||||
(set-marker (eat--t-disp-begin disp) (point)))
|
||||
;; Is the last line on display in scroll region?
|
||||
(when (< scroll-begin (eat--t-disp-width disp))
|
||||
(when (< scroll-end (eat--t-disp-width disp))
|
||||
;; No, it isn't.
|
||||
;; Go to the end of scroll region (before deleting or moving
|
||||
;; texts).
|
||||
(eat--t-goto-bol (- (1+ (- scroll-end scroll-begin)) n))
|
||||
|
|
Loading…
Add table
Reference in a new issue