From: Richard M. Stallman Date: Thu, 31 Mar 2005 21:17:40 +0000 (+0000) Subject: (make-autoload): Handle define-global-minor-mode. X-Git-Tag: ttn-vms-21-2-B4~1325 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1b39b4933b600887cca06781b6e7ac678480a5b4;p=emacs.git (make-autoload): Handle define-global-minor-mode. --- diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index 0a75a43827e..68d1287d98c 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el @@ -72,7 +72,7 @@ or macro definition or a defcustom)." (let ((car (car-safe form)) expand) (cond ;; For complex cases, try again on the macro-expansion. - ((and (memq car '(easy-mmode-define-global-mode + ((and (memq car '(easy-mmode-define-global-mode define-global-minor-mode easy-mmode-define-minor-mode define-minor-mode)) (setq expand (let ((load-file-name file)) (macroexpand form))) (eq (car expand) 'progn)