Commit 0a6b9622 authored by Alan Mackenzie's avatar Alan Mackenzie
Browse files

progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'

spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
parent 14a29deb
2011-09-09 Alan Mackenzie <acm@muc.de>
* progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
spuriously generating `awk-mode-syntax-table'. (Bug #9448).
2011-09-09 Eli Zaretskii <eliz@gnu.org>
Fix for Savannah bug#9392.
......
......@@ -1545,6 +1545,10 @@ initialization, then `awk-mode-hook'.
Key bindings:
\\{awk-mode-map}"
;; We need the next line to stop the macro defining
;; `awk-mode-syntax-table'. This would mask the real table which is
;; declared in cc-awk.el and hasn't yet been loaded.
:syntax-table nil
(require 'cc-awk) ; Added 2003/6/10.
(c-initialize-cc-mode t)
(set-syntax-table awk-mode-syntax-table)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment