Subject: Re: bug#16498: 24.3.50; Support for custom user agents in url.el

From: Ted Zlatanov <[email-masked]>
Date: Wed, 05 Nov 2014 12:04:26 -0500

On Wed, 05 Nov 2014 11:57:04 -0500 Glenn Morris <[email-masked]> wrote: 

GM> Could you add a :version tag for the defcustom and a NEWS entry please?

Right, sorry.  Would this be sufficient?

=== modified file 'etc/NEWS'
--- etc/NEWS    2014-11-03 22:27:26 +0000
+++ etc/NEWS    2014-11-05 17:03:40 +0000
@@ -226,6 +226,10 @@
 When `url-handler-mode' is enabled, file operations for these
 protocols as well as for "telnet" and "ftp" are passed to Tramp.
 
+** The URL package allows customizing the `url-user-agent' string.
+The new `url-user-agent' variable can be customized to be a string or
+a function.
+
 ** Tramp
 
 *** New connection method "nc", which allows to access dumb busyboxes.

=== modified file 'lisp/url/url-http.el'
--- lisp/url/url-http.el        2014-11-05 16:06:40 +0000
+++ lisp/url/url-http.el        2014-11-05 17:02:31 +0000
@@ -140,6 +140,7 @@
   "User Agent used by the URL package."
   :type '(choice (string :tag "A static User-Agent string")
                  (function :tag "Call a function to get the User-Agent string"))
+  :version "25.1"
   :group 'url)
 
 ;(eval-when-compile