From 6b755c952195e70297d7612545c54faea1a49380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Tue, 28 Feb 2012 01:45:59 +0000 Subject: [PATCH] need the comma when deferring errors to the future in yas/eval-lisp --- yasnippet.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yasnippet.el b/yasnippet.el index 44154c1..594e018 100644 --- a/yasnippet.el +++ b/yasnippet.el @@ -1240,7 +1240,7 @@ return an expression that when evaluated will issue an error." (condition-case err (read string) (error (and (not nil-on-error) - `(error (error-message-string err)))))) + `(error (error-message-string ,err)))))) (defun yas/read-keybinding (keybinding) "Read KEYBINDING as a snippet keybinding, return a vector."