]> git.eshelyaron.com Git - emacs.git/commitdiff
Use url-lazy-message for warnings about ignored cookies.
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 1 Oct 2010 14:49:14 +0000 (16:49 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 1 Oct 2010 14:49:14 +0000 (16:49 +0200)
These messages aren't very interesting for most users.

lisp/url/ChangeLog
lisp/url/url-cookie.el

index f5a0a2f4b5df4a91cbc7b3cbe980485a36b42d8a..d07a146db36b0c17e14f7cc923e179450a9a6685 100644 (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.
 
index 2067f0972249fe662b8ca21f77a6af07c2e609eb..e056db38a98551c6a4da79e22b1b60a362f03696 100644 (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)