From 82b9f9f5f4d356f49f76d60981a5925888205f12 Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Fri, 1 Oct 2010 16:49:14 +0200 Subject: [PATCH] Use url-lazy-message for warnings about ignored cookies. These messages aren't very interesting for most users. --- lisp/url/ChangeLog | 3 +++ lisp/url/url-cookie.el | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index f5a0a2f4b5d..d07a146db36 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog @@ -1,5 +1,8 @@ 2010-10-01 Lars Magne Ingebrigtsen + * 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 2067f097224..e056db38a98 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) -- 2.39.5