From c40ff73059bb8d8263c380d7725d82b76b23a350 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Thu, 12 Sep 2024 14:53:29 +0200 Subject: [PATCH] emacs: Correctly disable display-line-numbers-mode in org files --- home-manager/modules/emacs/config.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home-manager/modules/emacs/config.org b/home-manager/modules/emacs/config.org index 3934246..7a23a58 100644 --- a/home-manager/modules/emacs/config.org +++ b/home-manager/modules/emacs/config.org @@ -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