branch: elpa/git-commit commit bc065246b48a0e966451bb13954497c36f2d5e96 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
Remove duplicated command magit-help Turns out I twice realized that it would make sense to provide a command that shows Magit's manual but picked a different name and added the binding in a different place. --- lisp/magit-mode.el | 3 ++- lisp/magit.el | 8 +------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/lisp/magit-mode.el b/lisp/magit-mode.el index 5b08d9d8bf..c1dd4e7b73 100644 --- a/lisp/magit-mode.el +++ b/lisp/magit-mode.el @@ -449,7 +449,8 @@ which visits the thing at point using `browse-url'." (interactive) (user-error "There is no thing at point that could be browsed")) -(defun magit-help () +;;;###autoload +(defun magit-info () "Visit the Magit manual." (interactive) (info "magit")) diff --git a/lisp/magit.el b/lisp/magit.el index e6696d09e2..442aac1b11 100644 --- a/lisp/magit.el +++ b/lisp/magit.el @@ -315,7 +315,7 @@ Also see info node `(magit)Commands for Buffers Visiting Files'." ("F" "Pull" magit-pull) ;; g ↓ ;; G → magit-refresh-all - ("h" "Help" magit-help) + ("h" "Help" magit-info) ("H" "Section info" magit-describe-section :if-derived magit-mode)] [("i" "Ignore" magit-gitignore) ("I" "Init" magit-init) @@ -373,12 +373,6 @@ Also see info node `(magit)Commands for Buffers Visiting Files'." [("C-x m" "show all key bindings" describe-mode) ("C-x i" "show Info manual" magit-info)]]) -;;;###autoload -(defun magit-info () - "Show Magit's Info manual." - (interactive) - (info "magit")) - ;;; Git Popup (defcustom magit-shell-command-verbose-prompt t