]> git.eshelyaron.com Git - emacs.git/commitdiff
* 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 2a4e6834006d43dfcc878be23a201e9f1fc5b5a4..9282aa16a2d910dd75ee69e9377eafd026afbdc3 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 1e8d6cba8c4cb78c3f70521cfe36d3109c7882b2..e977a415d62b9961a9b08f54de23c46c68c3e6ab 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))