* lisp/progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
authorGlenn Morris <rgm@gnu.org>
Tue, 10 Sep 2013 20:28:22 +0000 (16:28 -0400)
committerGlenn Morris <rgm@gnu.org>
Tue, 10 Sep 2013 20:28:22 +0000 (16:28 -0400)
Autoload of define-derived-mode works just fine.

lisp/ChangeLog
lisp/progmodes/cc-mode.el

index 2a4e683..9282aa1 100644 (file)
@@ -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.
index 1e8d6cb..e977a41 100644 (file)
@@ -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))