branch: elpa/javelin
commit c33b6a2eeae1ee6e7fc241c5eceb41e275166813
Author: Alessandro Martini <[email protected]>
Commit: Alessandro Martini <[email protected]>
fix: create parents on harpoon--create-directory
This was calling make-directory without setting parents to `t` which
would throw an error if `.local` did not exist on the emacs dir
---
harpoon.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/harpoon.el b/harpoon.el
index 98a4b33a2ed..c0e159e741a 100644
--- a/harpoon.el
+++ b/harpoon.el
@@ -133,7 +133,7 @@
(defun harpoon--create-directory ()
"Create harpoon cache dir if doesn't exist."
(unless (f-directory? harpoon-cache-file)
- (make-directory harpoon-cache-file)))
+ (make-directory harpoon-cache-file t)))
(defun harpoon--file-name ()
"File name for harpoon on current project."