diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2024-10-04 19:22:53 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2024-10-04 19:22:53 +0200 |
| commit | fb26ac3ce3838ccc634f89640e5f85329e9b2a50 (patch) | |
| tree | b8e03ec40ab6fcbc1ac4af3bedac9d97396455f9 /CHANGELOG | |
| parent | c06015cd6750f8625081f4184c68c94350eb0217 (diff) | |
transient--parse-suffix: Fix regression breaking :setup-children
In [1: fb88f803] we wrongly concluded that the only type of function
left to be handled by this branch are `lambda' expressions. While that
is true during macro-expansion, this function may also be called from a
prefix's `:setup-children' function, in which case we also have to deal
with byte-code function objects and compiled functions.
So go back to handle everything for which `commandp' returns non-nil,
except for strings, which Transient does not support as commands.
Because none of command types supported here have to be quoted, we can
keep the part of [1: fb88f803], which stopped using `macroexp-quote'.
Closes #313.
Closes tarsius/notmuch-transient#2.
1: 2024-09-02 fb88f803e85fa0b9e1319e90b5e71020b6543d94
transient--parse-suffix: Clarify clause, removing dead code
Diffstat (limited to 'CHANGELOG')
| -rw-r--r-- | CHANGELOG | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,4 +1,12 @@ # -*- mode: org -*- +* v0.7.7 UNRELEASED + +Bug fix: + +- Fix a regression introduced by the previous commit, which broke + dynamic prefixes that use a ~:setup-children~ function to prepare + their suffixes. #313 + * v0.7.6 2024-10-01 - ~transient-active-prefix~ now accepts a single prefix symbol, in place |
