diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-02-12 21:09:46 -0200 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-02-12 21:09:46 -0200 |
commit | 3855607ae779165e33f5f1834bedad42d1583971 (patch) | |
tree | c3c8ed332f216daccbef721c4e7cd2fa724bd5fb /sx-cache.el | |
parent | 75c4a7d4e02e81c42a4914e2b798f60415a3b505 (diff) | |
parent | 07dbdbad69dd502abc209bd38aabdf5204bc65f7 (diff) |
Merge branch 'tag-buttons' into images
Diffstat (limited to 'sx-cache.el')
-rw-r--r-- | sx-cache.el | 5 |
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) |