From 0f82040e9ab719eed92b178113200c1694550be0 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 12 Jul 2014 22:54:15 +0100 Subject: Emacs: Add markdown+lisp MMM configuration --- tag-emacs/emacs.d/init.el | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 8fd1b20..4ddab84 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -1109,8 +1109,14 @@ :submode toml-mode :face mmm-declaration-submode-face :front "\\`+++[\n\r]+" - :back "^+++$"))) - (mmm-add-mode-ext-class 'markdown-mode nil 'markdown-toml)) + :back "^+++$") + (markdown-lisp + :submode common-lisp-mode + :face mmm-code-submode-face + :front "^{{% highlight cl %}}[\r\n]+" + :back "^{{% /highlight %}}$"))) + (mmm-add-mode-ext-class 'markdown-mode nil 'markdown-toml) + (mmm-add-mode-ext-class 'markdown-mode nil 'markdown-lisp)) :init (setq mmm-global-mode 'maybe)) ;;;; Windows & Frames -- cgit 1.4.1