changeset 56995:fd1be95301bf

(make-autoload): Handle `define-compilation-mode'.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Wed, 08 Sep 2004 11:06:23 +0000
parents 1075a63c2426
children 5418c6e288fc
files lisp/emacs-lisp/autoload.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/autoload.el	Wed Sep 08 11:00:30 2004 +0000
+++ b/lisp/emacs-lisp/autoload.el	Wed Sep 08 11:06:23 2004 +0000
@@ -86,6 +86,7 @@
 
      ;; 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 @@
 	     (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))))