emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/mmm-mode 3e4b068 4/7: Prioritize mason-one-line-comment


From: ELPA Syncer
Subject: [elpa] externals/mmm-mode 3e4b068 4/7: Prioritize mason-one-line-comment over mason-inline
Date: Tue, 29 Dec 2020 20:57:15 -0500 (EST)

branch: externals/mmm-mode
commit 3e4b06859b3de185d23a907ca8ab5687c2a69fb5
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    Prioritize mason-one-line-comment over mason-inline
    
    Fixes #105
---
 mmm-mason.el | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/mmm-mason.el b/mmm-mason.el
index 240ddfc..c076c35 100644
--- a/mmm-mason.el
+++ b/mmm-mason.el
@@ -118,6 +118,14 @@ Saves the name of the tag matched.")
              (?a mason-<%args> ?. . "args")
              (?f mason-<%flags> ?. . "flags")
              (?r mason-<%attr> ?. . "attr")))
+   (mason-one-line-comment
+    :submode text-mode
+    :face mmm-comment-submode-face
+    :front "^%#"
+    :back "\n"
+    :insert ((?# mason-%-comment nil (mmm-mason-start-line)
+                 @ "%" @ "# " _ @ '(mmm-mason-end-line) "\n" @)
+             (?3 mason-%-comment ?# . nil)))
    (mason-inline
     :submode perl
     :face mmm-output-submode-face
@@ -133,14 +141,6 @@ Saves the name of the tag matched.")
     :back "&>"
     :insert ((?& mason-<&-&> nil @ "<&" @ " " _ " " @ "&>" @)
              (?7 mason-<&-&> ?% . nil)))
-   (mason-one-line-comment
-    :submode text-mode
-    :face mmm-comment-submode-face
-    :front "^%#"
-    :back "\n"
-    :insert ((?# mason-%-comment nil (mmm-mason-start-line)
-                @ "%" @ "# " _ @ '(mmm-mason-end-line) "\n" @)
-             (?3 mason-%-comment ?# . nil)))
    (mason-one-line
     :submode perl
     :face mmm-code-submode-face



reply via email to

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