From: Olivier Tétard Date: Thu, 26 Nov 2009 17:07:11 +0000 (+0100) Subject: emacs.el: activation du message-mode lors de l'ouverture de fichiers .mail X-Git-Url: http://olivier.miskin.fr/git/?p=dotfiles.git;a=commitdiff_plain;h=3c252435315b83ba8b4c1ba377fc1b8728aaacce emacs.el: activation du message-mode lors de l'ouverture de fichiers .mail --- 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.