Open mmontone opened 2 years ago
Replace define-key (deprecated) with keymap-set.
define-key
is certainly not deprecated, in fact that is what keymap-set
uses internally! And note that the keymap module was added in Emacs 29
Ah! Thanks for the clarification.
But ... It says it is "legacy" in docs ,whatever that means.
Good point, missed that. I've sent a message to emacs-devel to clarify the issue: https://lists.gnu.org/archive/html/emacs-devel/2022-07/msg01078.html.
When ready to switch to Emacs 28 do:
interactive
expressions. See: https://lars.ingebrigtsen.no/2021/02/16/command-discovery-in-emacs/define-key
(deprecated) withkeymap-set
.pp-
variables. Not available in all versions.