From: Richard M. Stallman Date: Mon, 14 Feb 2005 09:58:33 +0000 (+0000) Subject: (url-http-parse-headers): Test url-automatic-caching. X-Git-Tag: ttn-vms-21-2-B4~2312 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=76bad53408807727df919cb1bd5fe3c8d9e2d69e;p=emacs.git (url-http-parse-headers): Test url-automatic-caching. --- diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index 3a0fbf6ecd6..872ea22ce05 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el @@ -413,7 +413,7 @@ should be shown to the user." ;; Generic success for all others. Store in the cache, and ;; mark it as successful. (widen) - (if (equal url-http-method "GET") + (if (and url-automatic-caching (equal url-http-method "GET")) (url-store-in-cache (current-buffer))) (setq success t)))) (3 ; Redirection