aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <[email protected]>2010-10-01 16:49:14 +0200
committerLars Magne Ingebrigtsen <[email protected]>2010-10-01 16:49:14 +0200
commit82b9f9f5f4d356f49f76d60981a5925888205f12 (patch)
tree98d7d750d39b6b73dba7d341872174370443f8d9
parent6ca26f1d7fd69a2d02c689295b952f54857d7827 (diff)
Use url-lazy-message for warnings about ignored cookies.
These messages aren't very interesting for most users.
-rw-r--r--lisp/url/ChangeLog3
-rw-r--r--lisp/url/url-cookie.el4
2 files changed, 5 insertions, 2 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog
index f5a0a2f4b5..d07a146db3 100644
--- a/lisp/url/ChangeLog
+++ b/lisp/url/ChangeLog
@@ -1,5 +1,8 @@
2010-10-01 Lars Magne Ingebrigtsen <[email protected]>
+ * 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.
diff --git a/lisp/url/url-cookie.el b/lisp/url/url-cookie.el
index 2067f09722..e056db38a9 100644
--- a/lisp/url/url-cookie.el
+++ b/lisp/url/url-cookie.el
@@ -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)