branch: elpa/javelin
commit cedf07b466c72dee8c003f293ea3038b9d5903f6
Author: Otávio Schwanck dos Santos <[email protected]>
Commit: Otávio Schwanck dos Santos <[email protected]>

    revert last commit
---
 harpoon.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/harpoon.el b/harpoon.el
index 425e7daf5bd..ed1c83c2289 100644
--- a/harpoon.el
+++ b/harpoon.el
@@ -174,7 +174,8 @@
   "Open quickmenu."
   (interactive)
   (let ((result (completing-read "Harpoon to file: "
-                                         (delete "" (split-string 
(harpoon--get-file-text) "\n")))))
+                                 (delete (s-replace-regexp 
(projectile-project-p) "" (or (buffer-file-name) ""))
+                                         (delete "" (split-string 
(harpoon--get-file-text) "\n"))))))
     (when (and result (not (string-equal result "")))
       (find-file (concat (projectile-project-p) result)))))
 

Reply via email to