[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Deprecation of define-key?
From: |
Andreas Schwab |
Subject: |
Re: Deprecation of define-key? |
Date: |
Fri, 29 Jul 2022 18:16:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1.90 (gnu/linux) |
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.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."