branch: master
commit 5f80383e58552443fede36a6a8bbd2bb48b9b449
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>
Fix typo: global-mmm-mode -> mmm-global-mode
---
mmm-auto.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mmm-auto.el b/mmm-auto.el
index daf473c..dad030f 100644
--- a/mmm-auto.el
+++ b/mmm-auto.el
@@ -153,8 +153,8 @@ everything in `mmm-major-mode-hook' will be run."
(defun mmm-mode-on-maybe ()
"Conditionally turn on MMM Mode.
-Turn on MMM Mode if `global-mmm-mode' is non-nil and there are classes
-to apply, or always if `global-mmm-mode' is t."
+Turn on MMM Mode if `mmm-global-mode' is non-nil and there are classes
+to apply, or always if `mmm-global-mode' is t."
(cond ((eq mmm-global-mode t) (mmm-mode-on))
((not mmm-global-mode))
((mmm-get-all-classes nil) (mmm-mode-on)))