(Emcas/config)~quote -> function in proc macro

This commit is contained in:
2024-09-08 03:00:21 +01:00
parent 6145df8c49
commit a8fe7c09c4

View File

@@ -108,7 +108,7 @@ form, as that is the most common use of this macro.
(defmacro proc (&rest BODY) (defmacro proc (&rest BODY)
"For a given list of forms BODY, return a quoted 0 argument "For a given list of forms BODY, return a quoted 0 argument
lambda." lambda."
`(quote (lambda nil ,@BODY))) `(function (lambda nil ,@BODY)))
#+end_src #+end_src
** Automatically run a command on saving ** Automatically run a command on saving
Define a macro which creates hooks into ~after-save-hook~. On certain Define a macro which creates hooks into ~after-save-hook~. On certain