]> code.delx.au - gnu-emacs-elpa/blobdiff - packages/company/company-template.el
Fix csv-mode to delete its own overlays only
[gnu-emacs-elpa] / packages / company / company-template.el
index bc1055cdea6d0fba29bbd768d2249fb09df2368c..21ae01181f996c89944f16790826062369889d1e 100644 (file)
@@ -152,9 +152,7 @@ Leave point at the end of the field."
          (cnt 0)
          (templ (company-template-declare-template beg end))
          paren-open paren-close)
-    (with-syntax-table (make-char-table 'syntax-table nil)
-      (modify-syntax-entry ?\( "(")
-      (modify-syntax-entry ?\) ")")
+    (with-syntax-table (make-syntax-table (syntax-table))
       (modify-syntax-entry ?< "(")
       (modify-syntax-entry ?> ")")
       (when (search-backward ")" beg t)