Mercurial > emacs
comparison lisp/progmodes/awk-mode.el @ 13471:0fe6457bc953
(awk-mode): Require cc-mode.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 10 Nov 1995 17:09:45 +0000 |
parents | 276209d90df9 |
children | 83f275dcd93a |
comparison
equal
deleted
inserted
replaced
13470:0bfd3ae57234 | 13471:0fe6457bc953 |
---|---|
63 | 63 |
64 Turning on AWK mode calls the value of the variable `awk-mode-hook' | 64 Turning on AWK mode calls the value of the variable `awk-mode-hook' |
65 with no args, if that value is non-nil." | 65 with no args, if that value is non-nil." |
66 (interactive) | 66 (interactive) |
67 (kill-all-local-variables) | 67 (kill-all-local-variables) |
68 (require 'cc-mode) | |
68 (use-local-map c-mode-map) | 69 (use-local-map c-mode-map) |
69 (setq major-mode 'awk-mode) | 70 (setq major-mode 'awk-mode) |
70 (setq mode-name "AWK") | 71 (setq mode-name "AWK") |
71 (setq local-abbrev-table awk-mode-abbrev-table) | 72 (setq local-abbrev-table awk-mode-abbrev-table) |
72 (set-syntax-table awk-mode-syntax-table) | 73 (set-syntax-table awk-mode-syntax-table) |