From a848d36c578cb849a283d72edbd69d1b955350f9 Mon Sep 17 00:00:00 2001 From: Alan Mackenzie Date: Sat, 18 Feb 2017 12:38:29 +0000 Subject: [PATCH] Set the syntax table in AWK Mode. This is a partial reversion of CC Mode commit on 2016-05-09 17:49:45 +0000. It fixes bug #25722. lisp/progmodes/cc-mode.el (awk-mode): Explicitly set the syntax table. --- lisp/progmodes/cc-mode.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el index e2969c607a5..8326e6a6f29 100644 --- a/lisp/progmodes/cc-mode.el +++ b/lisp/progmodes/cc-mode.el @@ -2036,6 +2036,7 @@ Key bindings: :syntax-table nil (require 'cc-awk) ; Added 2003/6/10. (c-initialize-cc-mode t) + (set-syntax-table awk-mode-syntax-table) (setq abbrev-mode t) (c-init-language-vars-for 'awk-mode) (c-common-init 'awk-mode) -- 2.39.5