emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Current mode command discovery


From: Lars Ingebrigtsen
Subject: Re: Current mode command discovery
Date: Wed, 17 Feb 2021 18:52:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Dmitry Gutov <dgutov@yandex.ru> writes:

> Moving the checking logic inside the read-extended-command-predicate
> implementation seems logical.

I'm not sure I understand what you mean here...  that's where the
checking is done today?

> (declare (modes ...)) would just add a tag to the command, with
> natural possibility to add other tags, which a different
> read-extended-command-predicate could use.

Yeah, I think so too -- (declare (modes ...)) should have the same
effect as `interactive "p" ...', not create a predicate.  Probably.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]