]> code.delx.au - gnu-emacs-elpa/commitdiff
need the comma when deferring errors to the future in yas/eval-lisp
authorJoão Távora <joaotavora@gmail.com>
Tue, 28 Feb 2012 01:45:59 +0000 (01:45 +0000)
committerJoão Távora <joaotavora@gmail.com>
Tue, 28 Feb 2012 01:45:59 +0000 (01:45 +0000)
yasnippet.el

index 44154c130f1214e968de9e6f02b06e1cc93d7779..594e0180fc79fd88c0e5ecbc0832bebff186f861 100644 (file)
@@ -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."