help-gnu-emacs
[Top][All Lists]
Advanced

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

From global-set-key to keymap-global-set


From: uzibalqa
Subject: From global-set-key to keymap-global-set
Date: Tue, 04 Jul 2023 16:35:34 +0000

Have been using "global-set-key" in this way

(global-set-key (kbd "H-e") #'eval-expression)

The documentation states that "global-set-key" is a legacy function; instructing
people that the recommended function to use is "keymap-global-set".

The problem is that one cannot use "keymap-global-set" in the same way

(keymap-global-set (kbd "H-e") #'eval-expression)







reply via email to

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