Explicitly activate some text-mode-hooks in Org mode

Apparently, text-mode-hooks are not run in Org mode?  So let's add them
explicitly.
This commit is contained in:
Daniel - 2022-09-11 18:34:03 +02:00
parent a339cbf75b
commit 8e534045d2
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625
1 changed files with 4 additions and 0 deletions

View File

@ -899,6 +899,10 @@
(emacs-lisp . t))))
:config (progn
;; Some hooks from text-mode-hook, Org mode does not seem to run those?
(add-hook 'org-mode-hook 'page-break-lines-mode)
(add-hook 'org-mode-hook 'turn-on-auto-fill)
;; Reset checkboxes if the RESET_CHECK_BOXES property is set
(add-hook 'org-after-todo-state-change-hook 'org-reset-checkbox-state-maybe)