| | 28 | ;; Mutt mode hooks - from http://fsinfo.cs.uni-sb.de/~abe/mutt/ |
| | 29 | (defun mutt-mode-hook () |
| | 30 | (turn-on-auto-fill) ;;; Auto-Fill is necessary for mails |
| | 31 | (turn-on-font-lock) ;;; Font-Lock is always cool *g* |
| | 32 | (flush-lines "^\\(> \n\\)*> -- \n\\(\n?> .*\\)*") ;;; Kills quoted sigs. |
| | 33 | (not-modified) ;;; We haven't changed the buffer, haven't we? *g* |
| | 34 | (mail-text) ;;; Jumps to the beginning of the mail text |
| | 35 | (setq make-backup-files nil) ;;; No backups necessary. |
| | 36 | ) |
| | 37 | (or (assoc "mutt-" auto-mode-alist) |
| | 38 | (setq auto-mode-alist (cons '("mutt-" . mail-mode) auto-mode-alist))) |
| | 39 | (add-hook 'mail-mode-hook 'mutt-mode-hook) |