diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2025-02-15 21:31:38 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2025-02-15 21:31:38 +0100 |
| commit | 3e22fdf61120cd4e504c85ecd9171d871cd7d900 (patch) | |
| tree | 75556b65ec95099b762174e6cf33af9b140042ce /docs | |
| parent | 8b1cad251ce32040d48fe4072f6f77ae1b2e38b0 (diff) | |
transient--insert-suffix: Support forcing to keep other bindings
Closes #355.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/transient.org | 6 | ||||
| -rw-r--r-- | docs/transient.texi | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/docs/transient.org b/docs/transient.org index cfcf8b9..c32822c 100644 --- a/docs/transient.org +++ b/docs/transient.org @@ -864,8 +864,10 @@ that tree are not objects but have the form {{{codevar((LEVEL CLASS PLIST))}}}, they are never active at the same time, see [[*Predicate Slots]]. Unfortunately both false-positives and false-negatives are possible. - To deal with the former use non-~nil~ {{{var(KEEP-OTHER.)}}} To deal with the - latter remove the conflicting binding explicitly. + To deal with the former use non-~nil~ {{{var(KEEP-OTHER.)}}} The symbol ~always~ + prevents the removal of a false-positive in some cases where other + non-~nil~ values would fail. To deal with false-negatives remove the + conflicting binding separately, using ~transient-remove-suffix~. - Function: transient-replace-suffix prefix loc suffix :: diff --git a/docs/transient.texi b/docs/transient.texi index 4ecb592..80dc451 100644 --- a/docs/transient.texi +++ b/docs/transient.texi @@ -1019,8 +1019,10 @@ that multiple suffix commands can be bound to the same key, provided they are never active at the same time, see @ref{Predicate Slots}. Unfortunately both false-positives and false-negatives are possible. -To deal with the former use non-@code{nil} @var{KEEP-OTHER@.} To deal with the -latter remove the conflicting binding explicitly. +To deal with the former use non-@code{nil} @var{KEEP-OTHER@.} The symbol @code{always} +prevents the removal of a false-positive in some cases where other +non-@code{nil} values would fail. To deal with false-negatives remove the +conflicting binding separately, using @code{transient-remove-suffix}. @end defun @defun transient-replace-suffix prefix loc suffix |
