From: Chong Yidong Date: Sat, 3 Feb 2007 17:24:52 +0000 (+0000) Subject: (global-cwarn-mode): define-global-minor-mode changed to X-Git-Tag: emacs-pretest-22.0.94~425 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b6a856a645319c51040c8ed3b6350f01bda293b8;p=emacs.git (global-cwarn-mode): define-global-minor-mode changed to define-globalized-minor-mode. --- diff --git a/lisp/progmodes/cwarn.el b/lisp/progmodes/cwarn.el index b1b22ed353d..8f710bf20bc 100644 --- a/lisp/progmodes/cwarn.el +++ b/lisp/progmodes/cwarn.el @@ -372,7 +372,7 @@ The mode is turned if some feature is enabled for the current (if (cwarn-is-enabled major-mode) (turn-on-cwarn-mode))) ;;;###autoload -(define-global-minor-mode global-cwarn-mode +(define-globalized-minor-mode global-cwarn-mode cwarn-mode turn-on-cwarn-mode-if-enabled) (provide 'cwarn)