Skip to content

Commit

Permalink
Use keymap-set instead of define-key
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Sep 17, 2023
1 parent 1f2785f commit b60efab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orgit.el
Expand Up @@ -235,7 +235,7 @@ The second pass accepts these specs:

;;;###autoload
(with-eval-after-load 'magit
(define-key magit-mode-map [remap org-store-link] #'orgit-store-link))
(keymap-set magit-mode-map "<remap> <org-store-link>" #'orgit-store-link))

;;;###autoload
(defun orgit-store-link (_arg)
Expand Down

0 comments on commit b60efab

Please sign in to comment.