From a4adbdf59250807d5c1872df7f034029d6f44b08 Mon Sep 17 00:00:00 2001 From: Sean Allred Date: Sun, 2 Nov 2014 11:50:42 -0500 Subject: Fix return when file already exists --- stack-core.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'stack-core.el') 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 -- cgit v1.2.3