mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
fix: make-snippet can be a function
This commit is contained in:
parent
0daac695e2
commit
386e84fdde
@ -326,7 +326,7 @@ can be:
|
||||
`(defun ,name ()
|
||||
,(define--snippet-body body)))
|
||||
|
||||
(cl-defmacro make-snippet (forms)
|
||||
(defun make-snippet (forms)
|
||||
"Same as `define-snippet', but return an anonymous function."
|
||||
`(lambda () ,(define--snippet-body forms)))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user