Replies: 1 comment
-
I considered that case but decided against implementing it because it would complicate the documentation and likely be rarely used. I've implemented (but not tested) it now, see the It would help me to decide whether this should be merged if you could implement your prefix commands without using this feature and then add an additional commit that demonstrates how that could be simplified by using this feature. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Would it be a good idea to allow prefix classes/types as arguments in addition to a specific command (or list of)? My concern is that it is not straightforward to extend if I want other prefixes (not necessarily defined in the package) to be accepted as well.
For example, I have defined a prefix class with a custom
transient-init-scope
method. The expectation is that any prefixes of this class/type will use the format from thistransient-init-scope
. It thus seems desirable to allowtransient-scope
to return a non-nil value if a prefix matches that type.Alternatives for this use case that don't require changing the current implementation:
Beta Was this translation helpful? Give feedback.
All reactions