[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r114818: * lisp/linum.el (linum-update-window): Fix
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] trunk r114818: * lisp/linum.el (linum-update-window): Fix boundary test. |
Date: |
Sun, 27 Oct 2013 04:18:34 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 114818
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13446
author: Nathan Trapuzzano <address@hidden>
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Sun 2013-10-27 00:18:28 -0400
message:
* lisp/linum.el (linum-update-window): Fix boundary test.
modified:
etc/NEWS news-20100311060928-aoit31wvzf25yr1z-1
lisp/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1432
lisp/linum.el linum.el-20091113204419-o5vbwnq5f7feedwu-8259
=== modified file 'etc/NEWS'
--- a/etc/NEWS 2013-10-25 15:23:45 +0000
+++ b/etc/NEWS 2013-10-27 04:18:28 +0000
@@ -216,7 +216,7 @@
* 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
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2013-10-27 03:25:03 +0000
+++ b/lisp/ChangeLog 2013-10-27 04:18:28 +0000
@@ -1,3 +1,7 @@
+2013-10-27 Nathan Trapuzzano <address@hidden>
+
+ * linum.el (linum-update-window): Fix boundary test (bug#13446).
+
2013-10-27 Dmitry Gutov <address@hidden>
* progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
=== modified file 'lisp/linum.el'
--- a/lisp/linum.el 2013-01-01 09:11:05 +0000
+++ b/lisp/linum.el 2013-10-27 04:18:28 +0000
@@ -152,7 +152,7 @@
(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)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r114818: * lisp/linum.el (linum-update-window): Fix boundary test.,
Stefan Monnier <=