Setup syntax table.
--- a/contrib/gadict.el Mon Mar 21 22:48:50 2016 +0200
+++ b/contrib/gadict.el Mon Mar 21 22:52:54 2016 +0200
@@ -45,6 +45,9 @@
(make-local-variable 'paragraph-separate)
(setq page-delimiter "__$"))
+(defun gadict-setup-syntax ()
+ (modify-syntax-entry ?' "w"))
+
(eval-when-compile
(defvar font-lock-beg)
(defvar font-lock-end))
@@ -92,8 +95,7 @@
(font-lock-multiline . t)
))
(gadict-setup-keymap)
- (modify-syntax-entry ?' ".")
- (modify-syntax-entry ?\" ".")
+ (gadict-setup-syntax)
(gadict-setup-paragraph)
(gadict-setup-page)
(gadict-setup-comment)