branch: elpa/git-commit
commit 0f597804786272d2a3b21552f1cbe29e365de72f
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    Cleanup uses of magit-menu-get
---
 lisp/magit-submodule.el | 2 +-
 lisp/magit-worktree.el  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/magit-submodule.el b/lisp/magit-submodule.el
index 1c2f55c25d..55e6fa8332 100644
--- a/lisp/magit-submodule.el
+++ b/lisp/magit-submodule.el
@@ -509,7 +509,7 @@ or, failing that, the abbreviated HEAD commit hash."
 
 (defvar magit-modules-section-map
   (let ((map (make-sparse-keymap)))
-    (magit-menu-set map [remap magit-visit-thing]
+    (magit-menu-set map [magit-visit-thing]
       #'magit-list-submodules "List %t")
     map)
   "Keymap for `modules' sections.")
diff --git a/lisp/magit-worktree.el b/lisp/magit-worktree.el
index 358adddf6e..b955e07681 100644
--- a/lisp/magit-worktree.el
+++ b/lisp/magit-worktree.el
@@ -150,7 +150,7 @@ then show it in Dired instead."
     (magit-menu-set map [magit-visit-thing]  #'magit-worktree-status "Visit 
%s")
     (magit-menu-set map [magit-delete-thing] #'magit-worktree-delete "Delete 
%m")
     (define-key-after map [separator-magit-worktree] menu-bar-separator)
-    (magit-menu-set map [magit-worktree ] #'magit-worktree "Worktree 
commands...")
+    (magit-menu-set map [magit-worktree] #'magit-worktree "Worktree 
commands...")
     map)
   "Keymap for `worktree' sections.")
 

Reply via email to