summaryrefslogtreecommitdiff
path: root/doc/misc/url.texi
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2016-02-21 16:57:04 +1100
committerLars Ingebrigtsen <larsi@gnus.org>2016-02-21 16:57:04 +1100
commit3e67708d7239cde24b0988d4d1288bc75585cfea (patch)
treec0587e43e5e9058d006454480868b893b34a3e53 /doc/misc/url.texi
parent336dac5820083df3a6e9d4b4d06768b88ecb8690 (diff)
downloademacs-3e67708d7239cde24b0988d4d1288bc75585cfea.tar.gz
emacs-3e67708d7239cde24b0988d4d1288bc75585cfea.tar.bz2
emacs-3e67708d7239cde24b0988d4d1288bc75585cfea.zip
Add a function to delete URL cookies
* doc/misc/url.texi (Cookies): Document url-cookie-delete-cookies. * lisp/url/url-cookie.el (url-cookie-delete-cookies): New function.
Diffstat (limited to 'doc/misc/url.texi')
-rw-r--r--doc/misc/url.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/misc/url.texi b/doc/misc/url.texi
index c46859968a2..14a4c96cc47 100644
--- a/doc/misc/url.texi
+++ b/doc/misc/url.texi
@@ -417,6 +417,12 @@ cookies, if there are any. You can remove a cookie using the
@kbd{C-k} (@code{url-cookie-delete}) command.
@end defun
+@defun url-cookie-delete-cookies &optional regexp
+This function takes a regular expression as its parameters and deletes
+all cookies from that domain. If @var{regexp} is @code{nil}, delete
+all cookies.
+@end defun
+
@defopt url-cookie-file
The file in which cookies are stored, defaulting to @file{cookies} in
the directory specified by @code{url-configuration-directory}.