all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* From  global-set-key to keymap-global-set
@ 2023-07-04 16:35 uzibalqa
  2023-07-04 16:44 ` Eli Zaretskii
  0 siblings, 1 reply; 22+ messages in thread
From: uzibalqa @ 2023-07-04 16:35 UTC (permalink / raw)
  To: uzibalqa via Users list for the GNU Emacs text editor


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)







^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2023-07-06 16:01 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-04 16:35 From global-set-key to keymap-global-set uzibalqa
2023-07-04 16:44 ` Eli Zaretskii
2023-07-04 17:11   ` uzibalqa
2023-07-04 17:31   ` uzibalqa
2023-07-04 19:40     ` uzibalqa
2023-07-04 20:26       ` [External] : " Drew Adams
2023-07-04 20:39         ` uzibalqa
2023-07-05  9:44           ` uzibalqa
2023-07-05 11:34             ` Eli Zaretskii
2023-07-05 12:02               ` uzibalqa
2023-07-05 12:46                 ` uzibalqa
2023-07-05 12:56                 ` Drew Adams
2023-07-05 13:20                   ` uzibalqa
2023-07-05 13:30                 ` Eli Zaretskii
2023-07-05 14:01                   ` uzibalqa
2023-07-06  8:45                     ` Eli Zaretskii
2023-07-06 12:07                       ` uzibalqa
2023-07-06 13:53                         ` Eli Zaretskii
2023-07-06 14:24                           ` uzibalqa
2023-07-06 14:49                             ` Eli Zaretskii
2023-07-06 16:01                           ` uzibalqa
2023-07-04 18:41   ` Emanuel Berg

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.