diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2022-03-25 18:20:07 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2022-03-25 18:20:07 +0100 |
| commit | 4de514b84cfe45d5847f2b26dae9600bcdfbf63e (patch) | |
| tree | 86106712f109da4f7dd30fde7ddb17ffa91b6bca /docs | |
| parent | be371711f521b95321e34ac59c9f04e86989d069 (diff) | |
magit-section-content-p: New function
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/magit-section.org | 4 | ||||
| -rw-r--r-- | docs/magit-section.texi | 4 |
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 |
