[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master e5d4da0: * packages/nlinum/nlinum.el (nlinum--check-narrow

From: Stefan Monnier
Subject: [elpa] master e5d4da0: * packages/nlinum/nlinum.el (nlinum--check-narrowing): Reset current-line
Date: Tue, 26 Mar 2019 11:31:57 -0400 (EDT)

branch: master
commit e5d4da0e512d6955345bce2024f62bf2b0ab3af4
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>

    * packages/nlinum/nlinum.el (nlinum--check-narrowing): Reset current-line
 packages/nlinum/nlinum.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/packages/nlinum/nlinum.el b/packages/nlinum/nlinum.el
index b4066a3..4a726c7 100644
--- a/packages/nlinum/nlinum.el
+++ b/packages/nlinum/nlinum.el
@@ -294,6 +294,7 @@ Linum mode is a buffer-local minor mode."
   ;; point-min is/was in the middle of a line.
   (unless (eql nlinum--last-point-min (point-min))
     (unless nlinum-widen (setq nlinum--line-number-cache nil))
+    (nlinum--current-line-update)
     (setq nlinum--last-point-min (point-min))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]