changeset 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 74990ae54bd2
children 745e7cc9c2cd
files .elisp/settings/40.modes.el
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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))