diff options
| author | Juri Linkov | 2005-12-04 02:36:43 +0000 |
|---|---|---|
| committer | Juri Linkov | 2005-12-04 02:36:43 +0000 |
| commit | e72b3747dc7749992c4bd2cf2a8a3f60229ba956 (patch) | |
| tree | 884b945c19fef875b4891d65a0b075bfe173d81c | |
| parent | 3cbdd0c19dccfda99b91e06107c4a53eaeea58d3 (diff) | |
| download | emacs-e72b3747dc7749992c4bd2cf2a8a3f60229ba956.tar.gz emacs-e72b3747dc7749992c4bd2cf2a8a3f60229ba956.zip | |
(global-cwarn-mode): Use define-global-minor-mode
instead of easy-mmode-define-global-mode.
| -rw-r--r-- | lisp/progmodes/cwarn.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/cwarn.el b/lisp/progmodes/cwarn.el index 9ffc1497271..979913f10c0 100644 --- a/lisp/progmodes/cwarn.el +++ b/lisp/progmodes/cwarn.el | |||
| @@ -372,8 +372,8 @@ The mode is turned if some feature is enabled for the current | |||
| 372 | (if (cwarn-is-enabled major-mode) (turn-on-cwarn-mode))) | 372 | (if (cwarn-is-enabled major-mode) (turn-on-cwarn-mode))) |
| 373 | 373 | ||
| 374 | ;;;###autoload | 374 | ;;;###autoload |
| 375 | (easy-mmode-define-global-mode global-cwarn-mode cwarn-mode | 375 | (define-global-minor-mode global-cwarn-mode |
| 376 | turn-on-cwarn-mode-if-enabled) | 376 | cwarn-mode turn-on-cwarn-mode-if-enabled) |
| 377 | 377 | ||
| 378 | (provide 'cwarn) | 378 | (provide 'cwarn) |
| 379 | 379 | ||