changeset 75640:a70527c58a3f

(global-cwarn-mode): Add define-globalized-minor-mode.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 03 Feb 2007 17:25:17 +0000
parents e499a9252500
children 0c165a40f76b
files lisp/emacs-lisp/autoload.el
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/autoload.el	Sat Feb 03 17:24:52 2007 +0000
+++ b/lisp/emacs-lisp/autoload.el	Sat Feb 03 17:25:17 2007 +0000
@@ -73,6 +73,7 @@
     (cond
      ;; For complex cases, try again on the macro-expansion.
      ((and (memq car '(easy-mmode-define-global-mode define-global-minor-mode
+		       define-globalized-minor-mode
 		       easy-mmode-define-minor-mode define-minor-mode))
 	   (setq expand (let ((load-file-name file)) (macroexpand form)))
 	   (eq (car expand) 'progn)
@@ -88,6 +89,7 @@
      ((memq car '(defun define-skeleton defmacro define-derived-mode
                    define-compilation-mode define-generic-mode
 		   easy-mmode-define-global-mode define-global-minor-mode
+		   define-globalized-minor-mode
 		   easy-mmode-define-minor-mode define-minor-mode
 		   defun* defmacro*))
       (let* ((macrop (memq car '(defmacro defmacro*)))
@@ -110,6 +112,7 @@
 				    define-generic-mode
 				    easy-mmode-define-global-mode
 				    define-global-minor-mode
+				    define-globalized-minor-mode
 				    easy-mmode-define-minor-mode
 				    define-minor-mode)) t)
 		  (eq (car-safe (car body)) 'interactive))