aboutsummaryrefslogtreecommitdiff
path: root/sx-cache.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-02-12 15:07:08 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-02-12 15:07:08 -0200
commit07dbdbad69dd502abc209bd38aabdf5204bc65f7 (patch)
tree08e4720a340a8334b88e6e22d4ab75805a9c11b9 /sx-cache.el
parent6f83f1ef10f1316b489eba926aebecb51f37a6e7 (diff)
parent2c7e276ebcd06616362b9710ca45c2e48641adcf (diff)
Merge branch 'master' into tag-buttons
Diffstat (limited to 'sx-cache.el')
-rw-r--r--sx-cache.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/sx-cache.el b/sx-cache.el
index 3e8e08f..b17149f 100644
--- a/sx-cache.el
+++ b/sx-cache.el
@@ -73,8 +73,9 @@ DATA will be written as returned by `prin1'.
CACHE is resolved to a file name by `sx-cache-get-file-name'."
(sx-cache--ensure-sx-cache-directory-exists)
- (write-region (prin1-to-string data) nil
- (sx-cache-get-file-name cache))
+ (let (print-length print-level)
+ (write-region (prin1-to-string data) nil
+ (sx-cache-get-file-name cache)))
data)
(defun sx-cache--invalidate (cache &optional vars init-method)