summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/linum.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 96f3ab25172..b70afc81540 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com>
+
+ * linum.el (linum-update-window): Fix boundary test (bug#13446).
+
2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
* progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
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)))