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

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

keymap-set-after compains about non-valid key definition


From: uzibalqa
Subject: keymap-set-after compains about non-valid key definition
Date: Sun, 16 Jul 2023 18:03:55 +0000

I am moving from using 'define-key-after', to using 'keymap-set-after'.

But I have a problem with the following code

  (defvar daphne-kdf (make-sparse-keymap "Daphne"))

  (keymap-set-after global-map
    [menu-bar daphne-topm] (cons "Daphne" daphne-kdf) 'Tools)

Emacs complains about '[menu-bar daphne-topm]' not being a valid key definition




reply via email to

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