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

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

Add a submenu to global menu-bar


From: Leo
Subject: Add a submenu to global menu-bar
Date: Wed, 03 Jan 2007 23:40:05 +0000
User-agent: Gnus v5.11, Emacs/23.0.0.1 (2007-01-01), Fedora 6 gnu/linux

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)]))
`----

-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)





reply via email to

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