changeset 110685:1d1ed3e3e171

Use url-lazy-message for warnings about ignored cookies. These messages aren't very interesting for most users.
author Lars Magne Ingebrigtsen <larsi@gnus.org>
date Fri, 01 Oct 2010 16:49:14 +0200
parents 88f8a448614e
children 624c74ddf6bf
files lisp/url/ChangeLog lisp/url/url-cookie.el
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/url/ChangeLog	Fri Oct 01 16:05:25 2010 +0200
+++ b/lisp/url/ChangeLog	Fri Oct 01 16:49:14 2010 +0200
@@ -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.
 
--- a/lisp/url/url-cookie.el	Fri Oct 01 16:05:25 2010 +0200
+++ b/lisp/url/url-cookie.el	Fri Oct 01 16:49:14 2010 +0200
@@ -400,8 +400,8 @@
 	  (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)