summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/cwarn.el2
1 files changed, 1 insertions, 1 deletions
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)