emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/orgit b60efabc4a: Use keymap-set instead of define-key


From: ELPA Syncer
Subject: [nongnu] elpa/orgit b60efabc4a: Use keymap-set instead of define-key
Date: Sun, 17 Sep 2023 07:00:04 -0400 (EDT)

branch: elpa/orgit
commit b60efabc4a1b15d7eacaabc5bdfe6f3c20fee161
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Use keymap-set instead of define-key
---
 orgit.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/orgit.el b/orgit.el
index e012a3400b..d1afb44db3 100644
--- a/orgit.el
+++ b/orgit.el
@@ -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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]