diff options
author | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2010-10-01 16:49:14 +0200 |
---|---|---|
committer | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2010-10-01 16:49:14 +0200 |
commit | 82b9f9f5f4d356f49f76d60981a5925888205f12 (patch) | |
tree | 98d7d750d39b6b73dba7d341872174370443f8d9 | |
parent | 6ca26f1d7fd69a2d02c689295b952f54857d7827 (diff) | |
download | emacs-82b9f9f5f4d356f49f76d60981a5925888205f12.tar.gz |
Use url-lazy-message for warnings about ignored cookies.
These messages aren't very interesting for most users.
-rw-r--r-- | lisp/url/ChangeLog | 3 | ||||
-rw-r--r-- | 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 <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. 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) |