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: uzibalqa
Subject: Re: Making new menu after Tools using keymap-set-after
Date: Wed, 19 Jul 2023 08:08:32 +0000





Sent with Proton Mail secure email.

------- Original Message -------
On Wednesday, July 19th, 2023 at 2:25 PM, Eli Zaretskii <eliz@gnu.org> wrote:


> > Date: Tue, 18 Jul 2023 19:26:01 +0000
> > From: uzibalqa uzibalqa@proton.me
> > Cc: help-gnu-emacs@gnu.org
> > 
> > > If you want examples of how this is done, there are a lot of them in
> > > the Emacs source tree.
> > 
> > Are they using the new 'keymap-set-after' and 'keymap-set' ?
> 
> 
> Many of them do.  

I have seen that 

(defvar mcp-kdf (make-sparse-keymap "MCP"))
(keymap-set-after global-map
   "<menu-bar> <mcp-topm>" (cons "MCP" mcp-kdf) 'tools)

complains about 'tools




reply via email to

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