From aa581dedac398f91e02e85217972689fc77a84a0 Mon Sep 17 00:00:00 2001 From: eriedaberrie Date: Wed, 22 Feb 2023 09:20:00 -0800 Subject: [PATCH] Highlight background of current line number --- init.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index 8c6986c..e6f7b03 100644 --- a/init.el +++ b/init.el @@ -571,6 +571,7 @@ :demand t :custom-face (mode-line ((t (:font "DejaVu Sans Mono")))) + (line-number-current-line ((t (:inherit hl-line)))) :custom (catppuccin-flavor 'mocha)) @@ -737,5 +738,4 @@ goggles-pulse and pixel-scroll-precision-mode." (pixel-scroll-precision-mode (if bat-status 0 1))))) (when battery-status-function - (run-with-timer 30 30 #'my-bat-check) - (add-hook 'emacs-startup-hook #'my-bat-check)) + (run-with-timer 0 30 #'my-bat-check))