summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2016-05-09 14:31:26 +0200
committerAlan Pearce2016-05-09 14:31:26 +0200
commitc093c25d34a12f2f41dd5aa08435475c0451225b (patch)
tree46eafae877577d6b5105b9f87bc046c3d7d73ac9
parentc870a66b1b9f6ea4c4c933e36367ebc31fe86196 (diff)
downloaddotfiles-c093c25d34a12f2f41dd5aa08435475c0451225b.tar.lz
dotfiles-c093c25d34a12f2f41dd5aa08435475c0451225b.tar.zst
dotfiles-c093c25d34a12f2f41dd5aa08435475c0451225b.zip
Emacs: Remove mmm-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 0814511..09de07d 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