chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
9ab88c2
)
el/dot-emacs.el: Add multiple-major-mode configuration.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 30 Aug 2024 22:09:14 +0000
(23:09 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 30 Aug 2024 22:09:14 +0000
(23:09 +0100)
el/dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index e7383adf76764a96e6d69ca2fec1edbe9c71eeab..4a5639c36c93b99ce05a7cd6b7e056f24463d8c2 100644
(file)
--- 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))
(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.
;;;--------------------------------------------------------------------------
;;; Other languages.