diff options
| author | Eli Zaretskii | 2015-12-26 15:31:32 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2015-12-26 15:31:32 +0200 |
| commit | bda3c4600b6866245308dd6008ffc3621e68e541 (patch) | |
| tree | ffbfd063bafe609ebf21fbf068ed70a820c73c53 /doc | |
| parent | 3a9664d092fa4f1cdd82307c05f51f9f2a4e9d7d (diff) | |
| download | emacs-bda3c4600b6866245308dd6008ffc3621e68e541.tar.gz emacs-bda3c4600b6866245308dd6008ffc3621e68e541.zip | |
Document 'url-user-agent'.
* lisp/url/url-http.el (url-user-agent): Move from here...
* lisp/url/url-vars.el (url-user-agent): ...to here. This is to
keep all the URL defcustoms in one place, and also have it defined
whenever the URL library is loaded.
* doc/misc/url.texi (Customization): Document 'url-user-agent'.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/misc/url.texi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/misc/url.texi b/doc/misc/url.texi index cd2d7a12bec..121c28eb8f8 100644 --- a/doc/misc/url.texi +++ b/doc/misc/url.texi | |||
| @@ -1330,6 +1330,14 @@ Connect directly. | |||
| 1330 | @end table | 1330 | @end table |
| 1331 | @end defopt | 1331 | @end defopt |
| 1332 | 1332 | ||
| 1333 | @defopt url-user-agent | ||
| 1334 | The User Agent string used for sending HTTP/HTTPS requests. The value | ||
| 1335 | should be a string or a function of no arguments that returns a | ||
| 1336 | string. The default value is @w{@samp{User-Agent: @var{package-name} | ||
| 1337 | URL/Emacs}}, where @var{package-name} is the value of | ||
| 1338 | @code{url-package-name} and its version, if they are non-@code{nil}. | ||
| 1339 | @end defopt | ||
| 1340 | |||
| 1333 | @node GNU Free Documentation License | 1341 | @node GNU Free Documentation License |
| 1334 | @appendix GNU Free Documentation License | 1342 | @appendix GNU Free Documentation License |
| 1335 | @include doclicense.texi | 1343 | @include doclicense.texi |