Mercurial > emacs
changeset 67296:5db0c081adbe
(global-cwarn-mode): Use define-global-minor-mode
instead of easy-mmode-define-global-mode.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Sun, 04 Dec 2005 02:36:43 +0000 |
parents | df35219b6508 |
children | 7060bfa31573 |
files | lisp/progmodes/cwarn.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/cwarn.el Sun Dec 04 02:36:13 2005 +0000 +++ b/lisp/progmodes/cwarn.el Sun Dec 04 02:36:43 2005 +0000 @@ -372,8 +372,8 @@ (if (cwarn-is-enabled major-mode) (turn-on-cwarn-mode))) ;;;###autoload -(easy-mmode-define-global-mode global-cwarn-mode cwarn-mode - turn-on-cwarn-mode-if-enabled) +(define-global-minor-mode global-cwarn-mode + cwarn-mode turn-on-cwarn-mode-if-enabled) (provide 'cwarn)