refactor(org-checklist): remove redundant hook calls
This commit is contained in:
parent
be6ee0a8b0
commit
1ab7ecb9c9
1 changed files with 0 additions and 5 deletions
|
|
@ -3438,12 +3438,7 @@ The simple package =org-checklist= from =org-contrib= makes it so that checkboxe
|
||||||
:commands (org-reset-checkbox-state-maybe
|
:commands (org-reset-checkbox-state-maybe
|
||||||
org-make-checklist-export
|
org-make-checklist-export
|
||||||
org-checklist)
|
org-checklist)
|
||||||
;; HACK: `org-checklist' adds this hook when it loads, but
|
|
||||||
;; I want to add it on init so that this package is loaded lazily
|
|
||||||
:init
|
:init
|
||||||
(add-hook 'org-after-todo-state-change-hook #'org-checklist)
|
|
||||||
:config
|
|
||||||
(remove-hook 'org-after-todo-state-change-hook #'org-checklist)
|
|
||||||
(add-hook 'org-after-todo-state-change-hook #'org-checklist)))
|
(add-hook 'org-after-todo-state-change-hook #'org-checklist)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue