Only enable hl-todo mode in programming modes

This commit is contained in:
Gergely Polonkai 2023-10-20 12:08:48 +02:00
parent 5b55077411
commit d9dd5acd15
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4
1 changed files with 3 additions and 1 deletions

View File

@ -2703,7 +2703,9 @@ Great help during refactoring.
** ~hl-todo~ to highlight TODO comments
#+begin_src emacs-lisp
(use-package hl-todo)
(use-package hl-todo
:hook
(prog-mode . hl-todo-mode))
#+end_src
** ~bug-reference~ to turn bug/patch references to links