diff options
author | Eli Zaretskii <eliz@gnu.org> | 2020-12-31 22:27:30 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2020-12-31 22:27:30 +0200 |
commit | 74a77ef299f3703b8b9eac7579af6b924de1c3e8 (patch) | |
tree | 9a657f09143795e8c3b3ea3e684a243dd992a0cb /doc | |
parent | c6d555564617d187d9e1aacd12da6ace56718f81 (diff) | |
download | emacs-74a77ef299f3703b8b9eac7579af6b924de1c3e8.tar.gz |
Improve documentation of 'network-lookup-address-info'
* src/process.c (Fnetwork_lookup_address_info):
* doc/lispref/processes.texi (Misc Network): Document the error
message emitted by 'network-lookup-address-info' when it fails.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lispref/processes.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index 6970f718ee0..94818beb4c9 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi @@ -3082,7 +3082,8 @@ signaled. Call @code{puny-encode-domain} on @var{name} first if you wish to lookup internationalized hostnames. If successful it returns a list of Lisp representations of network -addresses, otherwise it returns @code{nil}. +addresses, otherwise it returns @code{nil}. In the latter case, it +also displays the error message hopefully explaining what went wrong. By default both IPv4 and IPv6 lookups are attempted. The optional argument @var{family} controls this behavior, specifying the symbol |