diff options
Diffstat (limited to 'lisp/linum.el')
-rw-r--r-- | lisp/linum.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/linum.el b/lisp/linum.el index d9d7e5ad120..c2bc2fd91e1 100644 --- a/lisp/linum.el +++ b/lisp/linum.el @@ -152,7 +152,7 @@ Linum mode is a buffer-local minor mode." (run-hooks 'linum-before-numbering-hook) ;; Create an overlay (or reuse an existing one) for each ;; line visible in this window, if necessary. - (while (and (not (eobp)) (<= (point) limit)) + (while (and (not (eobp)) (< (point) limit)) (let* ((str (if fmt (propertize (format fmt line) 'face 'linum) (funcall linum-format line))) |