From: Glenn Morris Date: Tue, 10 Sep 2013 20:28:22 +0000 (-0400) Subject: * lisp/progmodes/cc-mode.el (awk-mode): Remove duplicate autoload. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1662^2~53 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6a5c15d95f69fc787edda65e0f81440b536653c2;p=emacs.git * lisp/progmodes/cc-mode.el (awk-mode): Remove duplicate autoload. Autoload of define-derived-mode works just fine. --- 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 + + * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload. + 2013-09-10 Stefan Monnier * 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))