unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tim Johnson <tim@johnsons-web.com>
Subject: Re: How to delete item from menu bar
Date: Fri, 26 May 2006 18:01:38 -0000	[thread overview]
Message-ID: <slrne7edad.s3d.tim@linus.johnson.com> (raw)
In-Reply-To: mailman.2321.1148657145.9609.help-gnu-emacs@gnu.org

On 2006-05-26, Kevin Rodgers <ihs_4664@yahoo.com> wrote:
> Tim Johnson wrote:
>> I'd like to delete an item from the menu bar.
>> It may or it may not be created by an easy-menu function.
>> 
>> Specifically, the item "Scheme" in scheme-mode.
>> 
>> How may I do that?
>
> (define-key scheme-mode-map [menu-bar scheme] nil)

 Yes. That did it.
 I did find that 'easy-menu-remove-item *does* work for menu
 items created with 'easy-menu-define

 Example: Menu "Foos", items "Foo1", "Foo2", ....
 (easy-menu-remove-item nil '("Foo") "Foo1") ;; remove item
 (easy-menu-remove-item nil '() "Foo") ;; remove menu

 Thanks Kevin
 tj

-- 
Tim Johnson <tim@johnsons-web.com>
      http://www.alaska-internet-solutions.com

      parent reply	other threads:[~2006-05-26 18:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-25 18:23 How to delete item from menu bar Tim Johnson
2006-05-25 20:55 ` J. David Boyd
     [not found] ` <mailman.2291.1148590548.9609.help-gnu-emacs@gnu.org>
2006-05-25 22:34   ` Tim Johnson
2006-05-26 15:24 ` Kevin Rodgers
     [not found] ` <mailman.2321.1148657145.9609.help-gnu-emacs@gnu.org>
2006-05-26 18:01   ` Tim Johnson [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=slrne7edad.s3d.tim@linus.johnson.com \
    --to=tim@johnsons-web.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).