summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-09-10 16:28:22 -0400
committerGlenn Morris <rgm@gnu.org>2013-09-10 16:28:22 -0400
commit6a5c15d95f69fc787edda65e0f81440b536653c2 (patch)
tree4c76b0256165215aaccad6ca29e8b1f28cd9b122
parent02ef6c1a8a4905b519968760aa70153b921e07a9 (diff)
downloademacs-6a5c15d95f69fc787edda65e0f81440b536653c2.tar.gz
* lisp/progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
Autoload of define-derived-mode works just fine.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/progmodes/cc-mode.el4
2 files changed, 4 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2a4e6834006..9282aa16a2d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2013-09-10 Glenn Morris <rgm@gnu.org>
+
+ * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
+
2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
* simple.el: Use set-temporary-overlay-map for universal-argument.
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el
index 1e8d6cba8c4..e977a415d62 100644
--- a/lisp/progmodes/cc-mode.el
+++ b/lisp/progmodes/cc-mode.el
@@ -1594,10 +1594,6 @@ Key bindings:
;;;###autoload (add-to-list 'interpreter-mode-alist '("nawk" . awk-mode))
;;;###autoload (add-to-list 'interpreter-mode-alist '("gawk" . awk-mode))
-;;; Autoload directives must be on the top level, so we construct an
-;;; autoload form instead.
-;;;###autoload (autoload 'awk-mode "cc-mode" "Major mode for editing AWK code." t)
-
(c-define-abbrev-table 'awk-mode-abbrev-table
'(("else" "else" c-electric-continued-statement 0)
("while" "while" c-electric-continued-statement 0))