summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tag-emacs/emacs.d/init.org39
1 files changed, 0 insertions, 39 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 08145111..09de07d5 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -1941,45 +1941,6 @@ I derived a mode for twig, in order to use its =mode-hook=.
 (add-to-list 'auto-mode-alist '("\\.html\\.twig\\'" . twig-mode))
 #+END_SRC
 
-*** mmm-mode
-
-With =web-mode= being so good, I don’t really use this much.  It’s
-good for embedded SQL though.
-
-#+BEGIN_SRC emacs-lisp
-  (use-package mmm-auto
-    :ensure mmm-mode
-    :defer 20
-    :config (progn
-              (mmm-add-classes
-               '((php-sql
-                  :submode sql-mode
-                  :front "<<<SQL[\r\n]+"
-                  :back "SQL;?"
-                  :face mmm-code-submode-face)))
-              (mmm-add-mode-ext-class 'php-mode "\\.php$" 'php-sql)
-              (mmm-add-classes
-               '((markdown-toml
-                  :submode toml-mode
-                  :face mmm-declaration-submode-face
-                  :front "\\`+++[\n\r]+"
-                  :back "^+++$")
-                 (markdown-lisp
-                  :submode common-lisp-mode
-                  :face mmm-code-submode-face
-                  :front "^{{% highlight cl %}}[\r\n]+"
-                  :back "^{{% /highlight %}}$")
-                 (markdown-shell
-                  :submode shell-script-mode
-                  :face mmm-code-submode-face
-                  :front "^{{% highlight sh %}}[\r\n]+"
-                  :back "^{{% /highlight %}}$")))
-              (mmm-add-mode-ext-class 'markdown-mode nil 'markdown-toml)
-              (mmm-add-mode-ext-class 'markdown-mode nil 'markdown-lisp)
-              (mmm-add-mode-ext-class 'markdown-mode nil 'markdown-shell))
-    :init (setq mmm-global-mode 'maybe))
-#+END_SRC
-
 * Spelling
 
 #+BEGIN_SRC emacs-lisp