[Top][All Lists]

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

easymenu question

From: Morgan V. Cundiff
Subject: easymenu question
Date: Sat, 14 Aug 2010 12:53:39 -0400 (EDT)

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 decl" insert-decl t]
                        ("Sub Menu"
                         ["My subentry" my-obscure-function t])))


reply via email to

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