Add macros file, load it on start
This commit is contained in:
parent
b16f9bbd22
commit
42406821d9
2 changed files with 7 additions and 0 deletions
6
02macros.el
Normal file
6
02macros.el
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
(defmacro -> (&rest body)
|
||||
"Clojure -> macro for BODY."
|
||||
(let ((result (pop body)))
|
||||
(dolist (form body result)
|
||||
(setq result (append (list (car form) result)
|
||||
(cdr form))))))
|
||||
Loading…
Add table
Add a link
Reference in a new issue