emacs-devel
[Top][All Lists]
Advanced

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

Re: Smarter M-x that filters on major-mode


From: Lars Ingebrigtsen
Subject: Re: Smarter M-x that filters on major-mode
Date: Fri, 12 Feb 2021 09:59:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> Would it make sense to introduce a keyword to `define-derived-mode' that
>> would allow saying :interactive nil?
>
> I don't see any benefit in making it not interactive.
> But I do see a benefit in not listing it in `M-x` completion.

To reverse the question: What's the benefit of marking these functions
as interactive when they're not meant to be used as commands?

-- 
(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]