aboutsummaryrefslogtreecommitdiff
path: root/stack-core.el
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2014-11-02 11:50:42 -0500
committerSean Allred <code@seanallred.com>2014-11-02 11:50:58 -0500
commita4adbdf59250807d5c1872df7f034029d6f44b08 (patch)
treef7e23892c2b40f4b32bb76ae38f70221e671b768 /stack-core.el
parent434b71bb59ceea9c6cf93fcf3b6450b31426a260 (diff)
Fix return when file already exists
Diffstat (limited to 'stack-core.el')
-rw-r--r--stack-core.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/stack-core.el b/stack-core.el
index 0d87f48..f9b9669 100644
--- a/stack-core.el
+++ b/stack-core.el
@@ -255,8 +255,7 @@ entire response as a complex alist."
(file (stack-cache-get-file-name filename)))
(unless (file-exists-p stack-cache-directory)
(mkdir stack-cache-directory))
- (unless (file-exists-p file)
- (find-file-noselect file))))
+ (find-file-noselect file)))
(provide 'stack-core)
;;; stack-core.el ends here