Use url-lazy-message for warnings about ignored cookies.

These messages aren't very interesting for most users.
This commit is contained in:
Lars Magne Ingebrigtsen 2010-10-01 16:49:14 +02:00
parent 6ca26f1d7f
commit 82b9f9f5f4
2 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,8 @@
2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
* url-cookie.el (url-cookie-handle-set-cookie): Use
url-lazy-message for the cookie warning, which isn't very interesting.
* url-http.el (url-http-async-sentinel): Check that the buffer is
still alive before switching to it.

View file

@ -400,8 +400,8 @@ telling Microsoft that."
(url-cookie-store (car cur) (cdr cur)
expires domain localpart secure))))
(t
(message "%s tried to set a cookie for domain %s - rejected."
(url-host url-current-object) domain)))))
(url-lazy-message "%s tried to set a cookie for domain %s - rejected."
(url-host url-current-object) domain)))))
(defvar url-cookie-timer nil)