From 3c8dc5df400000e9a0a5ef7507423ef5d3468660 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 2 Apr 2024 14:29:39 +0100 Subject: [PATCH] Remove org-table-header-line-mode hook Was causing problems when starting org files for some reason, causing other hooks to fail / not run too --- config/org-mode.org | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/config/org-mode.org b/config/org-mode.org index 02a8a11..a80545f 100644 --- a/config/org-mode.org +++ b/config/org-mode.org @@ -49,12 +49,11 @@ For reference information, see [[https://orgmode.com][Org-mode website]] ;; Let quote and verse blocks use variable-pitch font, if configured (set-face-attribute 'org-quote nil :inherit 'variable-pitch) (set-face-attribute 'org-verse nil :inherit 'variable-pitch) - ;; Visually indent org-mode files to a given header level - (add-hook 'org-mode-hook #'(lambda () (org-indent-mode +1))) ;; Enable auto-fill in org-mode buffers (add-hook 'org-mode-hook #'turn-on-auto-fill) - ;; Freeze org-table header row when scrolling past - (add-hook 'org-mode-hook #'(lambda () (org-table-header-line-mode +1)))) + ;; Visually indent org-mode files to a given header level + (require 'org-indent) + (add-hook 'org-mode-hook #'(lambda () (org-indent-mode +1)))) #+end_src * Keymaps