summaryrefslogtreecommitdiff
path: root/lisp/linum.el
diff options
context:
space:
mode:
authorNathan Trapuzzano <nbtrap@nbtrap.com>2013-10-27 00:18:28 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2013-10-27 00:18:28 -0400
commitfdab3d0b44d428a13e85b90c022105d13f965ddf (patch)
tree7cb020af0cc07669ba53bb5589061332a9eefeff /lisp/linum.el
parentc8c605ac9ced55d55e952255787c8a6b71bf585a (diff)
downloademacs-fdab3d0b44d428a13e85b90c022105d13f965ddf.tar.gz
emacs-fdab3d0b44d428a13e85b90c022105d13f965ddf.tar.bz2
emacs-fdab3d0b44d428a13e85b90c022105d13f965ddf.zip
* lisp/linum.el (linum-update-window): Fix boundary test.
Fixes: debbugs:13446
Diffstat (limited to 'lisp/linum.el')
-rw-r--r--lisp/linum.el2
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)))