From: Ted Zlatanov Date: Thu, 21 Mar 2013 16:11:13 +0000 (-0400) Subject: * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word syntax. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~526^2~123 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=aa70364092a975b724402e2cdf8827648364c759;p=emacs.git * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word syntax. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f0427753551..f3a37e307bc 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-03-21 Teodor Zlatanov + + * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word + syntax for both `cfengine2-mode' and `cfengine3-mode'. + 2013-03-20 Juri Linkov * info.el (Info-next-reference-or-link) diff --git a/lisp/progmodes/cfengine.el b/lisp/progmodes/cfengine.el index 74b81b0cd01..6b438fb06af 100644 --- a/lisp/progmodes/cfengine.el +++ b/lisp/progmodes/cfengine.el @@ -516,6 +516,7 @@ Intended as the value of `indent-line-function'." (defun cfengine-common-syntax (table) ;; The syntax defaults seem OK to give reasonable word movement. + (modify-syntax-entry ?w "_" table) (modify-syntax-entry ?# "<" table) (modify-syntax-entry ?\n ">#" table) (modify-syntax-entry ?\" "\"" table) ; "string"