[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master a64bc70 104/433: Added comment about `mmm-global-mode'.

From: Dmitry Gutov
Subject: [elpa] master a64bc70 104/433: Added comment about `mmm-global-mode'.
Date: Thu, 15 Mar 2018 19:43:45 -0400 (EDT)

branch: master
commit a64bc7046b6058b87cbe2401b14b10ab19148357
Author: mas <mas>
Commit: mas <mas>

    Added comment about `mmm-global-mode'.
 README.Mason | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/README.Mason b/README.Mason
index 8214a85..4661a51 100644
--- a/README.Mason
+++ b/README.Mason
@@ -33,6 +33,13 @@ MODES AND EXTENSIONS
   (nil "\\`/var/www/mason/" mason)       ;; Any file in the directory
   (nil nil mason)                        ;; All buffers.
+  In order for any of these to work, you must set `mmm-global-mode' to
+  a non-nil value, such as `t' or `maybe' (the two of which mean
+  different things; see the documentation).  This can be done with a
+  line in .emacs such as the following:
+  (setq mmm-global-mode 'maybe)
   If you use an extension for your Mason files that emacs does not
   automatically place in your preferred HTML Mode (be it html-mode,
   sgml-html-mode, hm--html-mode, or whatever), you will probably want
@@ -49,6 +56,8 @@ MODES AND EXTENSIONS
   An alternate solution is to change the names of your autohandlers
   and dhandlers so that emacs recognizes them as HTML automatically.
+  Similar code can be used to recognize all files in a given directory
+  as HTML and/or Mason.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]