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

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

RE: [External] : Re: Making new menu after Tools using keymap-set-after


From: Drew Adams
Subject: RE: [External] : Re: Making new menu after Tools using keymap-set-after
Date: Wed, 19 Jul 2023 14:18:43 +0000

> > BTW, Eli, isn't `define-key' here a typo -
> > shouldn't it be `keymap-set':
> >
> >  When you insert a new item in an existing menu,
> >  you probably want to put it in a particular
> >  place among the menu’s existing items.  If you use
> >  ‘define-key’ to add the item, it normally goes at
> >   ^^^^^^^^^^
> >  the front of the menu.  To put it elsewhere in the
> >  menu, use ‘keymap-set-after’:
> 
> Not a typo, because all the descriptions of making menu items in
> previous sections use define-key.  If someone wants to rewrite those
> sections to use keymap-set, patches will be welcome.

Got it; thx.


reply via email to

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