emacs-devel
[Top][All Lists]
Advanced

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

Re: Deprecation of define-key?


From: Philip Kaludercic
Subject: Re: Deprecation of define-key?
Date: Sat, 30 Jul 2022 11:46:23 +0000

Andreas Schwab <schwab@linux-m68k.org> writes:

> On Jul 29 2022, Philip Kaludercic wrote:
>
>> The docstring for `define-key' currently says:
>>
>>         This is a legacy function; see ‘keymap-set’ for the recommended
>>         function to use instead.
>>
>> yet `keymap-set' uses `define-key' internally.  Is there a long-term
>> plan to re implement parts of keymap.el in C?
>>
>> If not, this should be rephrased (my understanding up until now was that
>> keymap-* is a higher-level abstraction)
>
> I don't see any need.  The use of define-key in keymap-set is an
> implementation detail.

That is obvious, the question is should package developers avoid using
`define-key' if possible or not?



reply via email to

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