[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/git-commit bc065246b4 01/18: Remove duplicated command mag
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/git-commit bc065246b4 01/18: Remove duplicated command magit-help |
Date: |
Fri, 25 Mar 2022 13:58:19 -0400 (EDT) |
branch: elpa/git-commit
commit bc065246b48a0e966451bb13954497c36f2d5e96
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@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
- [nongnu] elpa/git-commit be371711f5 06/18: magit-section-at: New function, (continued)
- [nongnu] elpa/git-commit be371711f5 06/18: magit-section-at: New function, ELPA Syncer, 2022/03/25
- [nongnu] elpa/git-commit 949b4a47a4 10/18: magit-mouse-toggle-section: New command, ELPA Syncer, 2022/03/25
- [nongnu] elpa/git-commit 5641d3749c 12/18: Completely rework magit-mode-menu, ELPA Syncer, 2022/03/25
- [nongnu] elpa/git-commit 0168be9366 14/18: Add basic context-menu, ELPA Syncer, 2022/03/25
- [nongnu] elpa/git-commit 38cb9372dc 17/18: Add section-specific context-menus, ELPA Syncer, 2022/03/25
- [nongnu] elpa/git-commit f3afc117c2 18/18: Bump dependencies on Melpa, ELPA Syncer, 2022/03/25
- [nongnu] elpa/git-commit 91ef0822d3 04/18: magit-get-section: Compare constant values, ELPA Syncer, 2022/03/25
- [nongnu] elpa/git-commit 8c53997121 05/18: magit-section-ident-value: Split up into more methods, ELPA Syncer, 2022/03/25
- [nongnu] elpa/git-commit 4de514b84c 07/18: magit-section-content-p: New function, ELPA Syncer, 2022/03/25
- [nongnu] elpa/git-commit 8eb43f8b23 13/18: Store keymap detected based on name in section object, ELPA Syncer, 2022/03/25
- [nongnu] elpa/git-commit bc065246b4 01/18: Remove duplicated command magit-help,
ELPA Syncer <=
- [nongnu] elpa/git-commit 5da6122160 08/18: magit-section-mode-map: Add docstring, ELPA Syncer, 2022/03/25
- [nongnu] elpa/git-commit 73a2cbe61f 09/18: magit-section-heading-map: New keymap, ELPA Syncer, 2022/03/25
- [nongnu] elpa/git-commit 7d15b1a041 11/18: magit-diff--region-range: New function, ELPA Syncer, 2022/03/25
- [nongnu] elpa/git-commit b7294344e3 15/18: Add context-menu utilities, ELPA Syncer, 2022/03/25
- [nongnu] elpa/git-commit 95b432530a 16/18: Do not set point when invoking context-menu, ELPA Syncer, 2022/03/25