From: Mark Wooding Date: Fri, 30 Aug 2024 22:09:14 +0000 (+0100) Subject: el/dot-emacs.el: Add multiple-major-mode configuration. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/106e7f41cdc53c4c2ce5c3b003352e6d8a58f69c?hp=9ab88c21bb34b98b11eecccfb248d6f1f4b51e3c el/dot-emacs.el: Add multiple-major-mode configuration. --- diff --git a/el/dot-emacs.el b/el/dot-emacs.el index e7383ad..4a5639c 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -5380,6 +5380,17 @@ (progn (add-hook 'inferior-lisp-mode-hook #'(lambda () (local-set-key "\C-m" 'comint-send-and-indent)) t)) +;;;-------------------------------------------------------------------------- +;;; MMM configuration. + +(setq mmm-global-mode 'maybe + mmm-submode-decoration-level 1) + +(mmm-add-classes '((cweb :submode c + :face mmm-code-submode-face + :front "^@[(<].*@>\s-*=" + :back "^@[* ]"))) + ;;;-------------------------------------------------------------------------- ;;; Other languages.