From: Thien-Thi Nguyen Date: Wed, 8 Sep 2004 11:06:23 +0000 (+0000) Subject: (make-autoload): Handle `define-compilation-mode'. X-Git-Tag: ttn-vms-21-2-B4~5012 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bec34fb05face8154d5dd5fc86d4442ff82c3843;p=emacs.git (make-autoload): Handle `define-compilation-mode'. --- diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index 21843c9601d..5a5eb55a2a2 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el @@ -86,6 +86,7 @@ or macro definition or a defcustom)." ;; For special function-like operators, use the `autoload' function. ((memq car '(defun define-skeleton defmacro define-derived-mode + define-compilation-mode define-generic-mode easy-mmode-define-minor-mode easy-mmode-define-global-mode define-minor-mode defun* defmacro*)) @@ -94,7 +95,8 @@ or macro definition or a defcustom)." (args (case car ((defun defmacro defun* defmacro*) (nth 2 form)) ((define-skeleton) '(&optional str arg)) - ((define-generic-mode define-derived-mode) nil) + ((define-generic-mode define-derived-mode + define-compilation-mode) nil) (t))) (body (nthcdr (get car 'doc-string-elt) form)) (doc (if (stringp (car body)) (pop body))))