emacs: don't enable hl-line mode in special-mode

This commit is contained in:
Jeremy Baxter 2024-07-23 16:34:42 +12:00
parent b5f35f96aa
commit ea38204c10

View file

@ -9,7 +9,6 @@
(tool-bar-mode -1) (tool-bar-mode -1)
(scroll-bar-mode -1) (scroll-bar-mode -1)
(savehist-mode -1) (savehist-mode -1)
(global-hl-line-mode)
(column-number-mode) (column-number-mode)
(recentf-mode) (recentf-mode)
(save-place-mode) (save-place-mode)
@ -110,6 +109,8 @@ value `italic'."
tab-width w)) tab-width w))
(add-hook 'prog-mode-hook 'display-line-numbers-mode) (add-hook 'prog-mode-hook 'display-line-numbers-mode)
(add-hook 'prog-mode-hook #'hl-line-mode)
(add-hook 'text-mode-hook #'hl-line-mode)
(add-hook 'prog-mode-hook 'indent-tab-hook) (add-hook 'prog-mode-hook 'indent-tab-hook)
(add-hook 'sgml-mode-hook 'indent-spc-hook) (add-hook 'sgml-mode-hook 'indent-spc-hook)