]> code.delx.au - gnu-emacs-elpa/commitdiff
Assign quote syntax to backquotes
authorDmitry Gutov <dgutov@yandex.ru>
Thu, 5 Mar 2015 02:21:54 +0000 (04:21 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 5 Mar 2015 02:21:54 +0000 (04:21 +0200)
Fixes #222

js2-mode.el

index 627a6153793515ecd551012d6d727cbb1b0b403b..35f24bac4cd7424cab8d020d77b6639c5051bd18 100644 (file)
@@ -1273,6 +1273,7 @@ First match-group is the leading whitespace.")
 (defvar js2-mode-syntax-table
   (let ((table (make-syntax-table)))
     (c-populate-syntax-table table)
+    (modify-syntax-entry ?` "\"" table)
     table)
   "Syntax table used in `js2-mode' buffers.")