changeset 61177:64c207ce6c20

(make-autoload): Handle define-global-minor-mode.
author Richard M. Stallman <rms@gnu.org>
date Thu, 31 Mar 2005 21:17:40 +0000
parents b5c1a67a6467
children f929f1de61ac
files lisp/emacs-lisp/autoload.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/autoload.el	Thu Mar 31 21:16:54 2005 +0000
+++ b/lisp/emacs-lisp/autoload.el	Thu Mar 31 21:17:40 2005 +0000
@@ -72,7 +72,7 @@
   (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)