emacs: Correctly disable display-line-numbers-mode in org files

This commit is contained in:
Erwin Boskma 2024-09-12 14:53:29 +02:00
parent 5e8080c5ec
commit c40ff73059
Signed by: erwin
SSH key fingerprint: SHA256:/Wk1WZdLg+vQHs3in9qq7PsIp8SMzwGSk/RLZ5zPuZk

View file

@ -1720,7 +1720,7 @@ Hooks
((org-mode . org-indent-mode)
(org-mode . turn-on-visual-line-mode)
(org-mode . variable-pitch-mode)
(org-mode . (lambda () (display-line-numbers-mode nil)))
(org-mode . (lambda () (display-line-numbers-mode -1)))
(org-mode-indent . (lambda () (diminish 'org-indent-mode)))
(org-agenda-mode . (lambda () (hl-line-mode 1))))
#+end_src