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

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

easymenu question


From: mcundiff1
Subject: easymenu question
Date: Sat, 14 Aug 2010 17:00:50 +0000 (UTC)

I am using easymenu.el to create major-mode-specific menus. The following
code in my .emacs does create the desired "XQuery" menu. However, it
positions the XQuery menu as the first (i.e. left-most) menu. I would like
to be able to position it as the right-most, or, better yet, to place it
in any arbitrary position relative to the other menus. Can anyone help?

   (easy-menu-define my-menu global-map "XQUERY"
                      '("XQuery" :visible (string= major-mode
"xquery-mode")
                        ["xquery decl" insert-decl t]
                        ("Sub Menu"
                         ["My subentry" my-obscure-function t])))


Thanks,
Morgan

reply via email to

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