comparison lisp/progmodes/awk-mode.el @ 18988:35c373c1f925

(awk-mode): Call c-initialize-cc-mode.
author Richard M. Stallman <rms@gnu.org>
date Fri, 25 Jul 1997 20:51:42 +0000
parents c7ba19cdcf30
children cc9e75f82cdb
comparison
equal deleted inserted replaced
18987:528cead9a6c3 18988:35c373c1f925
117 Turning on AWK mode calls the value of the variable `awk-mode-hook' 117 Turning on AWK mode calls the value of the variable `awk-mode-hook'
118 with no args, if that value is non-nil." 118 with no args, if that value is non-nil."
119 (interactive) 119 (interactive)
120 (kill-all-local-variables) 120 (kill-all-local-variables)
121 (require 'cc-langs) 121 (require 'cc-langs)
122 (c-initialize-cc-mode)
122 (use-local-map c-mode-map) 123 (use-local-map c-mode-map)
123 (setq major-mode 'awk-mode) 124 (setq major-mode 'awk-mode)
124 (setq mode-name "AWK") 125 (setq mode-name "AWK")
125 (setq local-abbrev-table awk-mode-abbrev-table) 126 (setq local-abbrev-table awk-mode-abbrev-table)
126 (set-syntax-table awk-mode-syntax-table) 127 (set-syntax-table awk-mode-syntax-table)