|
From: | Dmitry Gutov |
Subject: | Re: Current mode command discovery |
Date: | Sun, 14 Feb 2021 21:37:53 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 14.02.2021 19:19, Lars Ingebrigtsen wrote:
This would only be commands that have been marked for the current major mode and any active minor modes, I guess?
BTW, you might be interested in this alternative approach (see smex-major-mode-commands):
https://github.com/nonsequitur/smex/blob/master/smex.el#L120-L129No (declare ...) or incompatible changes to 'interactive' necessary. Of course, it doesn't support arbitrary predicates. OTOH, it should reliably be fast enough.
[Prev in Thread] | Current Thread | [Next in Thread] |