]> code.delx.au - gnu-emacs/commitdiff
* progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word syntax.
authorTed Zlatanov <tzz@lifelogs.com>
Thu, 21 Mar 2013 16:11:13 +0000 (12:11 -0400)
committerTed Zlatanov <tzz@lifelogs.com>
Thu, 21 Mar 2013 16:11:13 +0000 (12:11 -0400)
lisp/ChangeLog
lisp/progmodes/cfengine.el

index f04277535512c55182e498e35379c020b519a4bd..f3a37e307bc0fe64b3f0eb8535a3b5f051955f16 100644 (file)
@@ -1,3 +1,8 @@
+2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
+       syntax for both `cfengine2-mode' and `cfengine3-mode'.
+
 2013-03-20  Juri Linkov  <juri@jurta.org>
 
        * info.el (Info-next-reference-or-link)
index 74b81b0cd01c5c622e20832cf21d25cf723f0388..6b438fb06af87174ad67aaee4a56e3d270cde603 100644 (file)
@@ -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"