From aa70364092a975b724402e2cdf8827648364c759 Mon Sep 17 00:00:00 2001 From: Ted Zlatanov Date: Thu, 21 Mar 2013 12:11:13 -0400 Subject: [PATCH] * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word syntax. --- lisp/ChangeLog | 5 +++++ lisp/progmodes/cfengine.el | 1 + 2 files changed, 6 insertions(+) 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" -- 2.39.2