(global-cwarn-mode): Use define-global-minor-mode

instead of easy-mmode-define-global-mode.
This commit is contained in:
Juri Linkov
2005-12-04 02:36:43 +00:00
parent 3cbdd0c19d
commit e72b3747dc

View File

@@ -372,8 +372,8 @@ The mode is turned if some feature is enabled for the current
(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)