[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/git-commit 4e29d5827c 3/3: magit-info: New command
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/git-commit 4e29d5827c 3/3: magit-info: New command |
Date: |
Sat, 29 Jan 2022 13:58:18 -0500 (EST) |
branch: elpa/git-commit
commit 4e29d5827cb77a7fbcff57033a099e23b8edd424
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
magit-info: New command
Add it to `magit-dispatch'.
---
lisp/magit.el | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/lisp/magit.el b/lisp/magit.el
index eca1aea8cd..43fe285f67 100644
--- a/lisp/magit.el
+++ b/lisp/magit.el
@@ -372,7 +372,14 @@ Also see info node `(magit)Commands for Buffers Visiting
Files'."
("q" " bury current buffer" magit-mode-bury-buffer)
("<tab>" " toggle section at point" magit-section-toggle)
("<return>" "visit thing at point" magit-visit-thing)]
- [("C-x m" "show all key bindings" describe-mode)]])
+ [("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