Skip to content

Commit 9ae587f

Browse files
author
Chen Bin
committed
fixed redguardtoo#1070 line number missing when switching between buffers
1 parent 0673ea8 commit 9ae587f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lisp/init-linum-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
(unless (or (memq major-mode my-linum-inhibit-modes)
5252
;; don't show line number for certain file extensions
5353
(my-should-use-minimum-resource))
54-
(my-run-with-idle-timer 0.5 #'display-line-numbers-mode)))
54+
(display-line-numbers-mode)))
5555

5656
(add-hook 'prog-mode-hook #'my-setup-line-number-mode)
5757
;; (add-hook 'text-mode-hook #'my-setup-line-number-mode)

0 commit comments

Comments
 (0)