Variable: mail-abbrev-mode-regexp
mail-abbrev-mode-regexp is a customizable variable defined in
mailabbrev.el.gz.
Value
"^\\(Resent-\\)?\\(To\\|From\\|Cc\\|Bcc\\|Reply-To\\|X-Debbugs-Cc\\):"
Documentation
Regexp matching mail headers in which mail abbrevs should be expanded.
This string will be handed to looking-at with point at the beginning
of the current line; if it matches, abbrev mode will be turned on, otherwise
it will be turned off. (You don't need to worry about continuation lines.)
This should be set to match those mail fields in which you want abbreviations
turned on.
Source Code
;; Defined in /usr/src/emacs/lisp/mail/mailabbrev.el.gz
;;; Syntax tables and abbrev-expansion
(defcustom mail-abbrev-mode-regexp
"^\\(Resent-\\)?\\(To\\|From\\|Cc\\|Bcc\\|Reply-To\\|X-Debbugs-Cc\\):"
"Regexp matching mail headers in which mail abbrevs should be expanded.
This string will be handed to `looking-at' with point at the beginning
of the current line; if it matches, abbrev mode will be turned on, otherwise
it will be turned off. (You don't need to worry about continuation lines.)
This should be set to match those mail fields in which you want abbreviations
turned on."
:type 'regexp)