From 3c252435315b83ba8b4c1ba377fc1b8728aaacce Mon Sep 17 00:00:00 2001 From: =?utf8?q?Olivier=20T=C3=A9tard?= Date: Thu, 26 Nov 2009 18:07:11 +0100 Subject: [PATCH] emacs.el: activation du message-mode lors de l'ouverture de fichiers .mail --- emacs/emacs.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emacs/emacs.el b/emacs/emacs.el index acef8dc..2404d2f 100644 --- a/emacs/emacs.el +++ b/emacs/emacs.el @@ -77,6 +77,8 @@ (setq x-select-enable-clipboard t) (setq interprogram-paste-function 'x-cut-buffer-or-selection-value) +(setq auto-mode-alist (cons '(".mail" . message-mode) auto-mode-alist)) + ;; Quand vous recevez un fichier .txt d'une machine dos/windows il est ;; très énervant de voir les ^M a chaque fin de ligne, utiliser M-x ;; dos-unix pour vous en débarrasser. (J. Danjou) @@ -198,7 +200,7 @@ The function is not passed any arguments. The function honours restrictions." '(muse-wiki-publish-small-title-words (quote ("the" "and" "at" "on" "of" "for" "in" "an" "a" "page" "anime"))) '(muse-xhtml-footer "~/documents/wiki/common/footer.html") '(muse-xhtml-header "~/documents/wiki/common/header.html") - '(safe-local-variable-values (quote ((TeX-PDF-mode . "PDF") (TeX-PDF-mode . PDF))))) + '(safe-local-variable-values (quote ((sh-indentation . 2) (TeX-PDF-mode . "PDF") (TeX-PDF-mode . PDF))))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. -- 2.30.2