From d1c289d6e6b5b475ed4e3ab6ecf5486941804633 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Thu, 4 Jan 2024 00:30:51 -0800 Subject: [PATCH] Fix mu4e hl-line-mode and disable blink-cursor-mode --- init.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index c3dbc40..b1dfa18 100644 --- a/init.el +++ b/init.el @@ -62,6 +62,7 @@ ;; Make cursor more visible (global-hl-line-mode 1) + (blink-cursor-mode -1) ;; Spell stuff (setq ispell-program-name "hunspell" @@ -739,7 +740,7 @@ COMMAND and COMINT are like `compile'." :init (defun my/setup-pdf-view-mode () (display-line-numbers-mode -1) - (setq-local blink-cursor-mode nil)) + (setq-local cursor-type nil)) (pdf-tools-install)) ;; calc @@ -1127,7 +1128,7 @@ If no name is given, list all bookmarks instead." (require 'mu4e) (evil-define-key '(normal motion) mu4e-main-mode-map "q" #'bury-buffer) (defun my/-mu4e-setup-view-mode () - (setq global-hl-line-mode nil)) + (setq-local global-hl-line-mode nil)) (defun my/-mu4e-setup-main-mode () (setq-local default-directory "~/")) (defun my/-mu4e-enable-index-messages ()