Doc fixes related to mail-host-address

* lisp/startup.el (mail-host-address): Doc fix.
* doc/lispref/os.texi (System Environment):
Remove extraneous details of mail-host-address.
This commit is contained in:
Glenn Morris 2017-02-12 17:53:13 -08:00
parent e9ec1c5b26
commit 04ea55fa47
2 changed files with 3 additions and 6 deletions

View file

@ -940,9 +940,7 @@ string.
If this variable is non-@code{nil}, it is used instead of
@code{system-name} for purposes of generating email addresses. For
example, it is used when constructing the default value of
@code{user-mail-address}. @xref{User Identification}. (Since this is
done when Emacs starts up, the value actually used is the one saved when
Emacs was dumped. @xref{Building Emacs}.)
@code{user-mail-address}. @xref{User Identification}.
@c FIXME sounds like should probably give this a :set-after and some
@c custom-initialize-delay voodoo.
@end defopt

View file

@ -376,9 +376,8 @@ this variable usefully is to set it while building and dumping Emacs."
(make-obsolete-variable 'system-name "use (system-name) instead" "25.1")
(defcustom mail-host-address nil
"Name of this machine, for purposes of naming users.
If non-nil, Emacs uses this instead of `system-name' when constructing
email addresses."
"The name of this machine, for use in constructing email addresses.
If this is nil, Emacs uses `system-name'."
:type '(choice (const nil) string)
:group 'mail)