comparison lisp/progmodes/awk-mode.el @ 19322:cc9e75f82cdb

(awk-mode): Require cc-mode, not cc-langs.
author Richard M. Stallman <rms@gnu.org>
date Tue, 12 Aug 1997 17:23:14 +0000
parents 35c373c1f925
children f3f9df46d008
comparison
equal deleted inserted replaced
19321:995bfd9752d5 19322:cc9e75f82cdb
116 116
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-mode)
122 (c-initialize-cc-mode) 122 (c-initialize-cc-mode)
123 (use-local-map c-mode-map) 123 (use-local-map c-mode-map)
124 (setq major-mode 'awk-mode) 124 (setq major-mode 'awk-mode)
125 (setq mode-name "AWK") 125 (setq mode-name "AWK")
126 (setq local-abbrev-table awk-mode-abbrev-table) 126 (setq local-abbrev-table awk-mode-abbrev-table)