diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2018-04-14 15:52:16 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2018-04-14 15:52:16 +0200 |
commit | 132b3a9ace018a120e1b30fc94c8c98904509884 (patch) | |
tree | a8b40a45d5005af396d06afe8a916deae24c94b1 /lisp/mail/sendmail.el | |
parent | c768fe1be0d68c182d037891e0946983e5fbe644 (diff) | |
download | emacs-132b3a9ace018a120e1b30fc94c8c98904509884.tar.gz |
Change the default From style to `angles' and make obsolete
* lisp/gnus/message.el (message-from-style): Make `angles' the
default (bug#29309) and mark as obsolete.
* lisp/mail/sendmail.el (mail-from-style): Ditto.
Diffstat (limited to 'lisp/mail/sendmail.el')
-rw-r--r-- | lisp/mail/sendmail.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index 212a6c74baa..cfbefd91d93 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el @@ -55,7 +55,7 @@ :type 'file) ;;;###autoload -(defcustom mail-from-style 'default +(defcustom mail-from-style 'angles "Specifies how \"From:\" fields look. If nil, they contain just the return address like: @@ -72,8 +72,11 @@ Otherwise, most addresses look like `angles', but they look like (const parens) (const angles) (const default)) - :version "20.3" + :version "27.1" :group 'sendmail) +(make-obsolete-variable + 'mail-from-style + "Only the `angles' value is valid according to RFC2822" "27.1") ;;;###autoload (defcustom mail-specify-envelope-from nil |