summaryrefslogtreecommitdiffstats
path: root/2022
diff options
context:
space:
mode:
authorLeo Vivier <zaeph@zaeph.net>2022-09-21 18:51:20 +0200
committerLeo Vivier <zaeph@zaeph.net>2022-09-21 18:51:20 +0200
commit6cad41c84d12eede3a602e32cb08002dc36e6412 (patch)
tree9e5ab758028296e19a9a057b36c1a677cfd91185 /2022
parent12a9feddc6c2f36e5a7084538a4f8da71c1c91b0 (diff)
downloademacsconf-wiki-6cad41c84d12eede3a602e32cb08002dc36e6412.tar.xz
emacsconf-wiki-6cad41c84d12eede3a602e32cb08002dc36e6412.zip
Add informative messages
Diffstat (limited to '2022')
-rw-r--r--2022/organizers-notebook.org6
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