X-Git-Url: http://olivier.miskin.fr/git/?p=dotfiles.git;a=blobdiff_plain;f=emacs%2Femacs.el;fp=emacs%2Femacs.el;h=2404d2f019e45f8d37518fc120a09bc525e59fe6;hp=acef8dce7678dac1bdf8a65d04244e01b08c4dd3;hb=3c252435315b83ba8b4c1ba377fc1b8728aaacce;hpb=330d462077ceb2e532ab927ea1db50f47c0c6018 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.