summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--2022/organizers-notebook.org8
1 files changed, 4 insertions, 4 deletions
diff --git a/2022/organizers-notebook.org b/2022/organizers-notebook.org
index b6395efe..c566aa47 100644
--- a/2022/organizers-notebook.org
+++ b/2022/organizers-notebook.org
@@ -1368,7 +1368,7 @@ chatter in the other lists Cc'd on this message. Thank you.
* Supporting code
** General
#+name: general-setup
-#+begin_src emacs-lisp :eval query
+#+begin_src emacs-lisp
(defvar emacsconf-danger-allow-dangerous-stuff nil
"When non-nil, trade safety for convenience.")
@@ -1448,7 +1448,7 @@ Throw an error if ERROR is non-nil, skip otherwise."
*** Export to markdown
#+name: md-export-on-save-setup
-#+begin_src emacs-lisp :eval query
+#+begin_src emacs-lisp
(defun emacsconf-export-md-on-save ()
"Export markdown on save.
Meant to be used with `after-save-hook'."
@@ -1460,7 +1460,7 @@ Meant to be used with `after-save-hook'."
#+end_src
#+name: md-export-on-save-toggle-on
-#+begin_src emacs-lisp :eval query
+#+begin_src emacs-lisp
(unless (bound-and-true-p emacsconf-export-md-on-save-configured)
(org-babel-ref-resolve "md-export-on-save-setup()"))
@@ -1471,7 +1471,7 @@ Meant to be used with `after-save-hook'."
#+end_src
#+name: md-export-on-save-toggle-off
-#+begin_src emacs-lisp :eval query :outputs none
+#+begin_src emacs-lisp
(remove-hook 'after-save-hook #'emacsconf-export-md-on-save t)
(unless (memq #'emacsconf-export-md-on-save after-save-hook)