]> git.eshelyaron.com Git - emacs.git/commitdiff
Set the syntax table in AWK Mode.
authorAlan Mackenzie <acm@muc.de>
Sat, 18 Feb 2017 12:38:29 +0000 (12:38 +0000)
committerAlan Mackenzie <acm@muc.de>
Sat, 18 Feb 2017 12:38:29 +0000 (12:38 +0000)
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

index e2969c607a51b08843567a93fc8f0dad64900b1a..8326e6a6f2941e108da665612ef27a825936285d 100644 (file)
@@ -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)