From 4006c4cd6710d1c21c7c7f8ecb331b41cf2b4f73 Mon Sep 17 00:00:00 2001 From: Leo Vivier Date: Wed, 21 Sep 2022 23:25:10 +0200 Subject: Remove some :eval query --- 2022/organizers-notebook.org | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '2022') 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) -- cgit v1.2.3