From 3f555be8616f49c8d117f043033e4ffd77df4e40 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 7 May 2013 23:43:42 -0700 Subject: [PATCH] * lisp/progmodes/m4-mode.el (m4-mode-syntax-table): Do not treat "_" as word constituent. Fixes: debbugs:14167 --- lisp/ChangeLog | 5 +++++ lisp/progmodes/m4-mode.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7f43a3634d9..f1aa40ccc9a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-05-08 Tom Tromey + + * progmodes/m4-mode.el (m4-mode-syntax-table): + Do not treat "_" as word constituent. (Bug#14167) + 2013-05-07 Glenn Morris * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar. diff --git a/lisp/progmodes/m4-mode.el b/lisp/progmodes/m4-mode.el index 0641fc776de..ffd79b354d5 100644 --- a/lisp/progmodes/m4-mode.el +++ b/lisp/progmodes/m4-mode.el @@ -95,7 +95,7 @@ (modify-syntax-entry ?{ "_" m4-mode-syntax-table) (modify-syntax-entry ?} "_" m4-mode-syntax-table) (modify-syntax-entry ?* "w" m4-mode-syntax-table) -(modify-syntax-entry ?_ "w" m4-mode-syntax-table) +(modify-syntax-entry ?_ "_" m4-mode-syntax-table) (modify-syntax-entry ?\" "w" m4-mode-syntax-table) (modify-syntax-entry ?\" "w" m4-mode-syntax-table) -- 2.39.2