From 9ae587f3152c820e226fa618fb5191cf8ebebfdc Mon Sep 17 00:00:00 2001 From: Chen Bin Date: Wed, 13 Nov 2024 10:25:22 +1100 Subject: [PATCH] fixed #1070 line number missing when switching between buffers --- lisp/init-linum-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/init-linum-mode.el b/lisp/init-linum-mode.el index 142eb9b0b..c3d1f71da 100644 --- a/lisp/init-linum-mode.el +++ b/lisp/init-linum-mode.el @@ -51,7 +51,7 @@ (unless (or (memq major-mode my-linum-inhibit-modes) ;; don't show line number for certain file extensions (my-should-use-minimum-resource)) - (my-run-with-idle-timer 0.5 #'display-line-numbers-mode))) + (display-line-numbers-mode))) (add-hook 'prog-mode-hook #'my-setup-line-number-mode) ;; (add-hook 'text-mode-hook #'my-setup-line-number-mode)