From: Alan Mackenzie Date: Sat, 18 Feb 2017 12:38:29 +0000 (+0000) Subject: Set the syntax table in AWK Mode. X-Git-Tag: emacs-26.0.90~790 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a848d36c578cb849a283d72edbd69d1b955350f9;p=emacs.git 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. --- 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)