aboutsummaryrefslogtreecommitdiff
path: root/sx-cache.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-02-12 21:11:58 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-02-12 21:11:58 -0200
commit2f0c2c3d29e24873dbe9f66718e8478ed1472ca6 (patch)
tree90ba6f290e04a75a734fb615a58ab5a2c07d3a08 /sx-cache.el
parent9356a6a039f0d8cf8d9f31e42e8007617c58577d (diff)
parent3855607ae779165e33f5f1834bedad42d1583971 (diff)
Merge branch 'images' into print-question-without-temp-buffer
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)