From: Michal <rabbitko@tenbit.pl>
To: help-gnu-emacs@gnu.org
Subject: HOWTO add new menu item to the beggining of the menu
Date: Tue, 23 Jun 2009 16:46:15 +0200 [thread overview]
Message-ID: <m2my7z1008.fsf@tenbit.pl> (raw)
Hallo Group Readers!
I have NO problem adding new item to the end of the menu. For example:
(define-key c-mode-map [tool-bar csearch-forw]
`(menu-item "csearch forward" csearch-forward
:image (image :type xpm :file "/tmp/right-arrow.xpm")))
But how to add it to be the first element in a menu?
best regards!
Michal
next reply other threads:[~2009-06-23 14:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-23 14:46 Michal [this message]
2009-06-23 18:45 ` HOWTO add new menu item to the beggining of the menu Xah Lee
2009-06-24 11:48 ` Michal
2009-06-24 13:08 ` TomSW
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2my7z1008.fsf@tenbit.pl \
--to=rabbitko@tenbit.pl \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.