diff options
author | Sean Allred <code@seanallred.com> | 2014-11-19 10:56:27 -0500 |
---|---|---|
committer | Sean Allred <code@seanallred.com> | 2014-11-19 10:56:27 -0500 |
commit | f694d5ed0bf7d29f83622c041ae30433a7223366 (patch) | |
tree | ec957b3510ca5083bc06dcba1764e3a41bcf1260 /sx-request.el | |
parent | 5f4f1a0495b79e418b6df16d4642a33c9ccda007 (diff) |
Remove -cache-p
Diffstat (limited to 'sx-request.el')
-rw-r--r-- | sx-request.el | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sx-request.el b/sx-request.el index aff6dc5..aeb2931 100644 --- a/sx-request.el +++ b/sx-request.el @@ -67,11 +67,6 @@ (format "https://api.stackexchange.com/%s/" sx-request-api-version) "The base URL to make requests from.") -;;; @TODO Shouldn't this be made moot by our caching system? -(defcustom sx-request-cache-p - t - "Cache requests made to the StackExchange API.") - (defcustom sx-request-unzip-program "gunzip" "Program used to unzip the response if it is compressed. @@ -121,7 +116,7 @@ then read with `json-read-from-string'. `sx-request-remaining-api-requests' is updated appropriately and the main content of the response is returned." - (let ((url-automatic-caching sx-request-cache-p) + (let ((url-automatic-caching t) (url-inhibit-uncompression t) (request-method (if use-post "POST" "GET")) (request-args |