branch: elpa/javelin
commit 7e55fb5d283dd291f4a0791a98d3a9cb9f6000d2
Author: Otávio Schwanck dos Santos <[email protected]>
Commit: Otávio Schwanck dos Santos <[email protected]>
revert define key
---
harpoon.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/harpoon.el b/harpoon.el
index 10fd80959e5..a6d2cc2b523 100644
--- a/harpoon.el
+++ b/harpoon.el
@@ -197,9 +197,7 @@
(find-file path))
(message "File not found."))))
-(defvar harpoon-mode-map
- (let ((map (make-sparse-keymap)))
- (define-key map (kbd "<return>") #'harpoon-find-file)))
+(define-key harpoon-mode-map (kbd "<return>") #'harpoon-find-file)
(provide 'harpoon)
;;; harpoon.el ends here