aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2016-04-24 14:55:15 +0200
committerLars Magne Ingebrigtsen2016-04-24 14:55:15 +0200
commitb876ee8971a8a040e14251f9733e4209ef7ad637 (patch)
tree90be9b9946d8aabb0e8d900132df17a5655b1fbc /doc
parent234ef3b432b7dff6629a12be5dd03a163b8e8619 (diff)
downloademacs-b876ee8971a8a040e14251f9733e4209ef7ad637.tar.gz
emacs-b876ee8971a8a040e14251f9733e4209ef7ad637.zip
Document the nil/default values of url-user-agent
* doc/misc/url.texi (Customization): Document the nil/default values of url-user-agent.
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/url.texi14
1 files changed, 10 insertions, 4 deletions
diff --git a/doc/misc/url.texi b/doc/misc/url.texi
index 14a4c96cc47..0a96a5428b1 100644
--- a/doc/misc/url.texi
+++ b/doc/misc/url.texi
@@ -1337,10 +1337,16 @@ Connect directly.
1337@end defopt 1337@end defopt
1338 1338
1339@defopt url-user-agent 1339@defopt url-user-agent
1340The User Agent string used for sending HTTP/HTTPS requests. The value 1340The User Agent string used for sending @acronym{HTTP}/@acronym{HTTPS}
1341should be a string or a function of no arguments that returns a 1341requests. The value should be @code{nil}, which means that no
1342string. The default value is @w{@samp{User-Agent: @var{package-name} 1342@samo{User-Agent} header is generated, @code{default}, which means
1343URL/Emacs}}, where @var{package-name} is the value of 1343that a string is generated based on the setting of
1344@code{url-privacy-leve}, a string or a function of no arguments that
1345returns a string.
1346
1347The default is @code{default}, which means that the
1348@w{@samp{User-Agent: @var{package-name} URL/Emacs}} string will be
1349generated, where @var{package-name} is the value of
1344@code{url-package-name} and its version, if they are non-@code{nil}. 1350@code{url-package-name} and its version, if they are non-@code{nil}.
1345@end defopt 1351@end defopt
1346 1352