mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
(make-autoload): Handle `define-compilation-mode'.
This commit is contained in:
parent
d430d2e899
commit
bec34fb05f
@ -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))))
|
||||
|
Loading…
Reference in New Issue
Block a user