Refer to function with #

This commit is contained in:
Bram Schoenmakers 2023-04-08 10:13:17 +02:00
parent 69fe8a2d8f
commit ea141d8fe4
2 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ My vertico-repeat setup.
(code (car (read-from-string code-string))))
(org-eval code)))
(add-hook 'org-after-todo-state-change-hook 'my/task-state-event-handler)
(add-hook 'org-after-todo-state-change-hook #'my/task-state-event-handler)
,#+end_src
,* TODO Example task

View File

@ -27,7 +27,7 @@ The property should be named =ON_<STATE>= where =STATE= is a state defined in =o
(code (car (read-from-string code-string))))
(org-eval code)))
(add-hook 'org-after-todo-state-change-hook 'my/task-state-event-handler)
(add-hook 'org-after-todo-state-change-hook #'my/task-state-event-handler)
#+end_src
* TODO Example task