diff options
author | Leo Vivier <zaeph@zaeph.net> | 2022-09-21 23:25:10 +0200 |
---|---|---|
committer | Leo Vivier <zaeph@zaeph.net> | 2022-09-21 23:25:10 +0200 |
commit | 4006c4cd6710d1c21c7c7f8ecb331b41cf2b4f73 (patch) | |
tree | 3b546e5637256c9d456bf73235bb675d6348e691 /2022 | |
parent | c64153a6a1583db7dceec902acf6d16e6305ef81 (diff) | |
download | emacsconf-wiki-4006c4cd6710d1c21c7c7f8ecb331b41cf2b4f73.tar.xz emacsconf-wiki-4006c4cd6710d1c21c7c7f8ecb331b41cf2b4f73.zip |
Remove some :eval query
Diffstat (limited to '')
-rw-r--r-- | 2022/organizers-notebook.org | 8 |
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) |