branch: elpa/javelin
commit f783803b8d5aa8bd9feb10ebf8f5b1c25e6eb1c5
Author: Otávio Schwanck dos Santos <[email protected]>
Commit: Otávio Schwanck dos Santos <[email protected]>
fix harpoon quick menu select
---
harpoon.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/harpoon.el b/harpoon.el
index 5e8342c5dd0..91f787771e7 100644
--- a/harpoon.el
+++ b/harpoon.el
@@ -169,7 +169,7 @@
(let ((result (completing-read "Harpoon to file: "
(delete (s-replace-regexp
(projectile-project-p) "" (or (buffer-file-name) ""))
(delete "" (split-string
(harpoon--get-file-text) "\n"))))))
- (when (and result (file-exists-p result) (not (string-equal result "")))
+ (when (and result (not (string-equal result "")))
(find-file (concat (projectile-project-p) result)))))
(define-derived-mode harpoon-mode nil "Harpoon"