mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
fix: no need for eval here, since make-snippet is a function
This commit is contained in:
parent
386e84fdde
commit
90528b1664
@ -49,7 +49,7 @@
|
||||
(mirror 1 (if (string-match "%" field-text) "\)" ""))))))
|
||||
|
||||
(defun snippet--insert-test-snippet (name)
|
||||
(funcall (eval `(make-snippet ,(cadr (assoc name snippet--test-snippets-alist))))))
|
||||
(funcall (make-snippet (cadr (assoc name snippet--test-snippets-alist)))))
|
||||
|
||||
|
||||
(ert-deftest foo-expansion ()
|
||||
|
Loading…
x
Reference in New Issue
Block a user