diff options
| author | Ted Zlatanov | 2014-11-05 12:18:22 -0500 |
|---|---|---|
| committer | Ted Zlatanov | 2014-11-05 12:18:22 -0500 |
| commit | a7fde0e7e6e43feec21cd4fa3d4af3f166f2b2bc (patch) | |
| tree | 80811c3b2340255396af147513b29c06f7fb1689 /lisp | |
| parent | d9f7c524b6a9d0e3c95a93c5122857c460ee3e37 (diff) | |
| download | emacs-a7fde0e7e6e43feec21cd4fa3d4af3f166f2b2bc.tar.gz emacs-a7fde0e7e6e43feec21cd4fa3d4af3f166f2b2bc.zip | |
url-http.el (url-user-agent): Add :version.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/url/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/url/url-http.el | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index b3b8057a9f9..13628773137 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | 2014-11-05 Teodor Zlatanov <tzz@lifelogs.com> | 1 | 2014-11-05 Teodor Zlatanov <tzz@lifelogs.com> |
| 2 | 2 | ||
| 3 | * url-http.el (url-user-agent): New variable, can be function or | 3 | * url-http.el (url-user-agent): New variable, can be function or |
| 4 | string. Suggested by Vibhav Pant <vibhavp@ubuntu.com>. | 4 | string. Suggested by Vibhav Pant <vibhavp@ubuntu.com>. Add |
| 5 | (Bug#16498) | 5 | :version. (Bug#16498) |
| 6 | 6 | ||
| 7 | (url-http-user-agent-string): Use it. | 7 | (url-http-user-agent-string): Use it. |
| 8 | 8 | ||
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index 7fbd5d0ae4c..a51785a5129 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el | |||
| @@ -140,6 +140,7 @@ request.") | |||
| 140 | "User Agent used by the URL package." | 140 | "User Agent used by the URL package." |
| 141 | :type '(choice (string :tag "A static User-Agent string") | 141 | :type '(choice (string :tag "A static User-Agent string") |
| 142 | (function :tag "Call a function to get the User-Agent string")) | 142 | (function :tag "Call a function to get the User-Agent string")) |
| 143 | :version "25.1" | ||
| 143 | :group 'url) | 144 | :group 'url) |
| 144 | 145 | ||
| 145 | ;(eval-when-compile | 146 | ;(eval-when-compile |