diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2025-03-24 01:47:31 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2025-03-24 01:47:31 +0100 |
| commit | 8daf9890ee65335a23eebc8919e9cfdd7c7249eb (patch) | |
| tree | 19eada39db01bbcc93bc7966c3ded0f469eeeca1 /docs | |
| parent | 14b39ff70609a9f04915c09c7aa13b24a05da848 (diff) | |
transient--insert-suffix: Signal error if location is invalid
Closes #374.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/transient.org | 9 | ||||
| -rw-r--r-- | docs/transient.texi | 9 |
2 files changed, 0 insertions, 18 deletions
diff --git a/docs/transient.org b/docs/transient.org index 97a3f9e..a269044 100644 --- a/docs/transient.org +++ b/docs/transient.org @@ -899,15 +899,6 @@ that tree are not objects but have the form {{{codevar((LEVEL CLASS PLIST))}}}, This function edits the suffix or group at {{{var(LOC)}}} in {{{var(PREFIX)}}}, by setting the {{{var(PROP)}}} of its plist to {{{var(VALUE)}}}. -Most of these functions do not signal an error if they cannot perform -the requested modification. The functions that insert new suffixes -show a warning if {{{var(LOC)}}} cannot be found in {{{var(PREFIX,)}}} without signaling an -error. The reason for doing it like this is that establishing a key -binding (and that is what we essentially are trying to do here) should -not prevent the rest of the configuration from loading. Among these -functions only ~transient-get-suffix~ and ~transient-suffix-put~ may -signal an error. - * Defining New Commands ** Technical Introduction diff --git a/docs/transient.texi b/docs/transient.texi index bb4100d..8ada4d1 100644 --- a/docs/transient.texi +++ b/docs/transient.texi @@ -1055,15 +1055,6 @@ This function edits the suffix or group at @var{LOC} in @var{PREFIX}, by setting the @var{PROP} of its plist to @var{VALUE}. @end defun -Most of these functions do not signal an error if they cannot perform -the requested modification. The functions that insert new suffixes -show a warning if @var{LOC} cannot be found in @var{PREFIX} without signaling an -error. The reason for doing it like this is that establishing a key -binding (and that is what we essentially are trying to do here) should -not prevent the rest of the configuration from loading. Among these -functions only @code{transient-get-suffix} and @code{transient-suffix-put} may -signal an error. - @node Defining New Commands @chapter Defining New Commands |
