diff options
author | Sean Allred <code@seanallred.com> | 2014-11-02 11:50:42 -0500 |
---|---|---|
committer | Sean Allred <code@seanallred.com> | 2014-11-02 11:50:58 -0500 |
commit | a4adbdf59250807d5c1872df7f034029d6f44b08 (patch) | |
tree | f7e23892c2b40f4b32bb76ae38f70221e671b768 | |
parent | 434b71bb59ceea9c6cf93fcf3b6450b31426a260 (diff) |
Fix return when file already exists
-rw-r--r-- | stack-core.el | 3 |
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 |