emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add support for custom user agent strings in url.el


From: Bozhidar Batsov
Subject: Re: [PATCH] Add support for custom user agent strings in url.el
Date: Sun, 19 Jan 2014 11:12:13 +0200

The default of the defcustom can also be the result of a function call (like `format', etc). Basically everything that returns a string will do. 


On 19 January 2014 10:36, Vibhav Pant <address@hidden> wrote:

Bozhidar Batsov writes:

> Seems to me that there should be just a defcustom `url-user-agent' and it
> should be used always. By default it should have whatever value it
> currently has and users will be able to customise it.
The function url-http-user-agent-string generates a user agent by
concatinating url-package-name and url-package-version. So the defcustom
would have to be a function or a sexp, making things a little confusing
for new users.

--
Vibhav Pant
address@hidden


reply via email to

[Prev in Thread] Current Thread [Next in Thread]