Mercurial > dotfiles
diff .elisp/settings/40.modes.el @ 310:6a773ec78813
emacs: edit tempfiles from mutt in mail-mode
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Tue, 07 May 2013 14:39:15 -0400 |
parents | a9e3c2ca6fa5 |
children | 0a593d2c0595 |
line wrap: on
line diff
--- a/.elisp/settings/40.modes.el +++ b/.elisp/settings/40.modes.el @@ -97,3 +97,6 @@ point." (when (string= ".hg" (nth 2 (reverse (split-string default-directory "/")))) (setq default-directory (expand-file-name (concat default-directory "../../"))))) (add-hook 'diff-mode-hook 'mq-patch-set-default-directory) + +;; Tempfiles from mutt should be edited in mail-mode. +(add-to-list 'auto-mode-alist '("/mutt" . mail-mode))