diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2026-02-23 10:45:59 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2026-02-23 10:45:59 +0100 |
| commit | 7af36733cce4898d20776abfd469e5b8317d670b (patch) | |
| tree | d6077ac5ea6da3c61ac81c5ceb8b32bacef60278 /docs/transient.org | |
| parent | 7edc536f24af598589006b7380e477b054f2e4f9 (diff) | |
manual: Document inactive slot
Diffstat (limited to 'docs/transient.org')
| -rw-r--r-- | docs/transient.org | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/transient.org b/docs/transient.org index 480fd2c..7da7e72 100644 --- a/docs/transient.org +++ b/docs/transient.org @@ -2604,6 +2604,14 @@ the ~level~ slot (see [[*Enabling and Disabling Suffixes]]) are defined. - ~parent~ The object for the parent group, if any. +- ~inactive~ If an ~:if*~ predicate of a suffix or group returns ~nil~, + then it is not displayed in the menu, but it has to remain in the + internal object tree, in case that predicate later returns ~t~, and + the ~object~ therefore has to appear in the menu again. Likewise a + group or suffix may be (potentially only temporarily) inactive due + to its ~level~. The ~inactive~ slot is set accordingly. Never set it + yourself. + The following two slots are experimental. If they are set for a group, then they apply to all suffixes in that group, except for suffixes that themselves set the same slot to a non-~nil~ value. |
