fix: no need for eval here, since make-snippet is a function

This commit is contained in:
Joao Tavora 2013-10-20 12:42:19 +01:00
parent 386e84fdde
commit 90528b1664

View File

@ -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 ()