From a8fe7c09c43bfb62c9ddcdfadd510a1b4f21a905 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 8 Sep 2024 03:00:21 +0100 Subject: (Emcas/config)~quote -> function in proc macro --- Emacs/.config/emacs/config.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Emacs/.config/emacs') diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index c02e7be..7b1327d 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -108,7 +108,7 @@ form, as that is the most common use of this macro. (defmacro proc (&rest BODY) "For a given list of forms BODY, return a quoted 0 argument lambda." - `(quote (lambda nil ,@BODY))) + `(function (lambda nil ,@BODY))) #+end_src ** Automatically run a command on saving Define a macro which creates hooks into ~after-save-hook~. On certain -- cgit v1.2.3-13-gbd6f