Commit fdab3d0b authored by Nathan Trapuzzano's avatar Nathan Trapuzzano Committed by Stefan Monnier
Browse files

* lisp/linum.el (linum-update-window): Fix boundary test.

Fixes: debbugs:13446
parent c8c605ac
......@@ -216,7 +216,7 @@ You can pick the name of the function and the variables with `C-x 4 a'.
* Changes in Specialized Modes and Packages in Emacs 24.4
** prolog-use-smie has been remvoed, along with the non-SMIE indentation code.
** prolog-use-smie has been removed, along with the non-SMIE indentation code.
** SMIE indentation can be customized via `smie-config'.
The customizaton can be guessed by Emacs by providing a sample indented
......
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
......
......@@ -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)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment