all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: stephen.berman@gmx.net
Cc: help-gnu-emacs@gnu.org
Subject: Re: Removing menu from menu bar
Date: Thu, 05 Jun 2008 19:19:56 +0200	[thread overview]
Message-ID: <4848203C.6000901@gmx.at> (raw)

You can do something like

(define-key emacs-lisp-mode-map [menu-bar emacs-lisp] nil)

but be aware that modes might also use `menu-bar-update-hook'.  In my
.emacs I have

(global-set-key [menu-bar buffer] nil)
(remove-hook 'menu-bar-update-hook 'menu-bar-update-buffers)

because I don't want a buffer menu.





             reply	other threads:[~2008-06-05 17:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-05 17:19 martin rudalics [this message]
2008-06-05 18:50 ` Removing menu from menu bar Stephen Berman
  -- strict thread matches above, loose matches on Subject: below --
2008-06-05 16:00 Stephen Berman
2008-06-05 16:49 ` Drew Adams

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=4848203C.6000901@gmx.at \
    --to=rudalics@gmx.at \
    --cc=help-gnu-emacs@gnu.org \
    --cc=stephen.berman@gmx.net \
    /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.