aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2025-09-10 22:41:03 +0200
committerJonas Bernoulli <jonas@bernoul.li>2025-09-10 22:41:03 +0200
commitf71815a536350d1ab2941a42aced67f4405efafc (patch)
tree00089173ab798c54c76d6c1779f4fb0ab177571d /docs
parent16fe3af826bafd4d1f0d31a233415e2bdc943cc8 (diff)
manual: Document magit-insert-status-headers in "Status Sections"
Diffstat (limited to 'docs')
-rw-r--r--docs/magit.org6
-rw-r--r--docs/magit.texi6
2 files changed, 12 insertions, 0 deletions
diff --git a/docs/magit.org b/docs/magit.org
index df5a9be..c0b8de2 100644
--- a/docs/magit.org
+++ b/docs/magit.org
@@ -2173,6 +2173,12 @@ hooks and how to customize them.
Some additional functions that can be added to this hook, but are by
default added to another hooks, are listed in [[*References Buffer]].
+- Function: magit-insert-status-headers ::
+
+ Insert header sections appropriate for ~magit-status-mode~ buffers.
+ The sections are inserted by running the functions on the hook
+ ~magit-status-headers-hook~. See [[*Status Header Sections]].
+
- Function: magit-insert-merge-log ::
Insert section for the on-going merge. Display the heads that are
diff --git a/docs/magit.texi b/docs/magit.texi
index 9c49040..96adc78 100644
--- a/docs/magit.texi
+++ b/docs/magit.texi
@@ -2556,6 +2556,12 @@ Some additional functions that can be added to this hook, but are by
default added to another hooks, are listed in @ref{References Buffer}.
@end defopt
+@defun magit-insert-status-headers
+Insert header sections appropriate for @code{magit-status-mode} buffers.
+The sections are inserted by running the functions on the hook
+@code{magit-status-headers-hook}. See @ref{Status Header Sections}.
+@end defun
+
@defun magit-insert-merge-log
Insert section for the on-going merge. Display the heads that are
being merged. If no merge is in progress, do nothing.