diff options
-rw-r--r-- | 2022/organizers-notebook.org | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/2022/organizers-notebook.org b/2022/organizers-notebook.org index f6548fe6..52be7dfd 100644 --- a/2022/organizers-notebook.org +++ b/2022/organizers-notebook.org @@ -26,12 +26,16 @@ Meant to be used with `after-save-hook'." (org-md-export-to-markdown) (org-babel-tangle)) -(add-hook 'after-save-hook #'emacsconf-export-markdown-on-save nil t) +(when (memq #'emacsconf-export-markdown-on-save after-save-hook) + (message "Hook is active")) #+end_src Remove the hook: #+begin_src emacs-lisp :eval query (remove-hook 'after-save-hook #'emacsconf-export-markdown-on-save t) + +(unless (memq #'emacsconf-export-markdown-on-save after-save-hook) + (message "Hook is no longer active")) #+end_src * Current tasks / status |