aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/magit-section.org4
-rw-r--r--docs/magit-section.texi4
2 files changed, 8 insertions, 0 deletions
diff --git a/docs/magit-section.org b/docs/magit-section.org
index 2925128..ce8d47b 100644
--- a/docs/magit-section.org
+++ b/docs/magit-section.org
@@ -184,6 +184,10 @@ source for suitable examples before asking me for help. Thanks!
Return the lineage of SECTION.
The return value has the form ~(TYPE...)~.
+- Function: magit-section-content-p section ::
+
+ Return non-nil if SECTION has content or an unused washer function.
+
* Matching Functions
- Function: magit-section-match condition &optional (section (magit-current-section)) ::
diff --git a/docs/magit-section.texi b/docs/magit-section.texi
index 05d22b1..9fb8a09 100644
--- a/docs/magit-section.texi
+++ b/docs/magit-section.texi
@@ -230,6 +230,10 @@ Return the lineage of SECTION@.
The return value has the form @code{(TYPE...)}.
@end defun
+@defun magit-section-content-p section
+Return non-nil if SECTION has content or an unused washer function.
+@end defun
+
@node Matching Functions
@chapter Matching Functions