]> code.delx.au - gnu-emacs-elpa/commitdiff
Fix issue #208
authorJoão Távora <joaotavora@gmail.com>
Tue, 14 Feb 2012 15:22:33 +0000 (15:22 +0000)
committerJoão Távora <joaotavora@gmail.com>
Tue, 14 Feb 2012 15:22:33 +0000 (15:22 +0000)
yasnippet.el

index afaf865fda6dd4694c1848283c5b90ef907dcee8..387e5a944ca8caef770b2aed80a0061c26e73fb9 100644 (file)
@@ -544,7 +544,7 @@ snippet itself contains a condition that returns the symbol
   "A list of mode which is well known but not part of emacs.")
 
 (defvar yas/escaped-characters
-  '(?\\ ?` ?' ?$ ?} ?{ ?\( ?\))
+  '(?\\ ?` ?\" ?' ?$ ?} ?{ ?\( ?\))
   "List of characters which *might* need to be escaped.")
 
 (defconst yas/field-regexp
@@ -3678,7 +3678,7 @@ Meant to be called in a narrowed buffer, does various passes"
     (setq yas/dollar-regions nil)
     ;; protect escaped quote, backquotes and backslashes
     ;;
-    (yas/protect-escapes nil '(?\\ ?` ?'))
+    (yas/protect-escapes nil `(?\\ ?` ?'))
     ;; replace all backquoted expressions
     ;;
     (goto-char parse-start)