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

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

Re: Making new menu after Tools using keymap-set-after


From: Eli Zaretskii
Subject: Re: Making new menu after Tools using keymap-set-after
Date: Wed, 19 Jul 2023 15:00:41 +0300

> Date: Tue, 18 Jul 2023 20:49:17 +0000
> From: uzibalqa <uzibalqa@proton.me>
> Cc: help-gnu-emacs@gnu.org
> 
> key-valid-p states that a valid key is a string consisting of one or more key
> strokes (name of an event) separated by single space characters, surrounded by
> angle brackets.
> 
> Would that mean 
> 
>   (keymap-set-after global-map
>     <menu-bar mcp-topm> (cons "MCP" mcp-kdf) 'tools)
      ^^^^^^^^^^^^^^^^^^^
No, because that's not a string there.



reply via email to

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