mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-04 14:32:26 +00:00
fix: make-snippet can be a function
This commit is contained in:
@@ -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)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user