Hej Hej,
Or you could just write the defun inside the add-hook
(add-hook 'org-mode-hook (defun silly-hook-defun () (message "it works)))
This should allow to remove later the hook if you want.
Cheers!
Hej Hej,
Or you could just write the defun inside the add-hook
(add-hook 'org-mode-hook (defun silly-hook-defun () (message "it works)))
This should allow to remove later the hook if you want.
Cheers!