[Org] Move hook for resetting checkboxes to init.el
This commit is contained in:
parent
f510d73ae7
commit
bef85cbdc5
3
init.el
3
init.el
|
@ -757,6 +757,9 @@ _h_ _l_ _o_k _y_ank
|
||||||
:config (progn
|
:config (progn
|
||||||
(require 'db-org)
|
(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
|
;; Color links to file according to whether they exist or not
|
||||||
(org-link-set-parameters
|
(org-link-set-parameters
|
||||||
"file"
|
"file"
|
||||||
|
|
|
@ -350,8 +350,6 @@ In ~%s~:
|
||||||
(if (org-entry-get (point) "RESET_CHECK_BOXES")
|
(if (org-entry-get (point) "RESET_CHECK_BOXES")
|
||||||
(org-reset-checkbox-state-subtree)))
|
(org-reset-checkbox-state-subtree)))
|
||||||
|
|
||||||
(add-hook 'org-after-todo-state-change-hook 'org-reset-checkbox-state-maybe)
|
|
||||||
|
|
||||||
|
|
||||||
;; Helper Functions for Clocking
|
;; Helper Functions for Clocking
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue