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: Fri, 19 Feb 2021 13:34:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> However, this may be a smaller issue than you'd think.  Most things that
>> are tagged as ;;;###autoload won't be mode-specific: They are
>> autoloadable exactly because they can be called from anywhere in Emacs.
>
> That's not necessarily true.  We also use ;;;###autoload as the means
> to load a mode when some command is invoked.

I'm not quite sure what you're mean here?  We use ;;;###autoload on
functions that aren't commands; yes.  But a (major) mode can't (by
definition) be a mode-specific command.

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