[Org] Move hook for resetting checkboxes to init.el

This commit is contained in:
Daniel - 2018-11-03 11:19:02 +01:00
parent f510d73ae7
commit bef85cbdc5
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
2 changed files with 3 additions and 2 deletions

View File

@ -757,6 +757,9 @@ _h_ _l_ _o_k _y_ank
:config (progn
(require 'db-org)
;; Reset checkboxes if the RESET_CHECK_BOXES property is set
(add-hook 'org-after-todo-state-change-hook 'org-reset-checkbox-state-maybe)
;; Color links to file according to whether they exist or not
(org-link-set-parameters
"file"

View File

@ -350,8 +350,6 @@ In ~%s~:
(if (org-entry-get (point) "RESET_CHECK_BOXES")
(org-reset-checkbox-state-subtree)))
(add-hook 'org-after-todo-state-change-hook 'org-reset-checkbox-state-maybe)
;; Helper Functions for Clocking