diff options
Diffstat (limited to '.emacs.local.d/modes/mail-mode.el')
-rw-r--r-- | .emacs.local.d/modes/mail-mode.el | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.emacs.local.d/modes/mail-mode.el b/.emacs.local.d/modes/mail-mode.el new file mode 100644 index 0000000..c10cd81 --- /dev/null +++ b/.emacs.local.d/modes/mail-mode.el @@ -0,0 +1,10 @@ +(add-to-list 'auto-mode-alist '("/mutt" . mail-mode)) +(add-hook 'mail-mode-hook + (lambda () + (font-lock-add-keywords nil + '(("^[ \t]*>[ \t]*>[ \t]*>.*$" + (0 'compilation-error)) + ("^[ \t]*>[ \t]*>.*$" + (0 'compilation-column-number)) + ("^[ \t]*>.*$" + (0 'comint-highlight-prompt)))))) |