[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add a submenu to global menu-bar
From: |
Rjjd |
Subject: |
Re: Add a submenu to global menu-bar |
Date: |
15 Jan 2007 07:00:40 -0800 |
User-agent: |
G2/1.0 |
A while back, I posted a menu example.
Search for "Code example [Re: define-key OK; defiune-key-" (with the
misspelling!)
Bob
Leo wrote:
> On 2007-01-03, Leo said:
>
> > Hi all,
> >
> > The following code will add an "Add-On" menu before "File". How can I
> > control the position of this submenu? i.e. I want to move the menu to
> > between "Tools" and "Help". Thank you for your help.
> >
> > ,----
> > | (easy-menu-define sdl-add-on-menu global-map "My Emacs Add-On menu."
> > | '("Add-On"
> > | ["Find file at point" ffap]
> > | ["BBDB" bbdb :visible (fboundp 'bbdb)]
> > | ["Planner" plan :visible (fboundp 'plan)]))
> > `----
>
> Help?
>
> --
> Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)