branch: elpa/javelin
commit 1888a538d7a6d63b2550cf92bd86afe23ff96ac4
Author: Otávio Schwanck dos Santos <[email protected]>
Commit: Otávio Schwanck dos Santos <[email protected]>
show current file on harpoon
---
harpoon.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/harpoon.el b/harpoon.el
index ed1c83c2289..425e7daf5bd 100644
--- a/harpoon.el
+++ b/harpoon.el
@@ -174,8 +174,7 @@
"Open quickmenu."
(interactive)
(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"))))))
+ (delete "" (split-string
(harpoon--get-file-text) "\n")))))
(when (and result (not (string-equal result "")))
(find-file (concat (projectile-project-p) result)))))