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

    magit-section-mode-map: Add docstring
---
 lisp/magit-section.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/magit-section.el b/lisp/magit-section.el
index 519550928d..b9721996c5 100644
--- a/lisp/magit-section.el
+++ b/lisp/magit-section.el
@@ -344,7 +344,8 @@ but that ship has sailed, thus this option."
     (define-key map (kbd "M-2") 'magit-section-show-level-2-all)
     (define-key map (kbd "M-3") 'magit-section-show-level-3-all)
     (define-key map (kbd "M-4") 'magit-section-show-level-4-all)
-    map))
+    map)
+  "Parent keymap for all keymaps of modes derived from `magit-section-mode'.")
 
 (define-derived-mode magit-section-mode special-mode "Magit-Sections"
   "Parent major mode from which major modes with Magit-like sections inherit.

Reply via email to