From: Drew Adams <drew.adams@oracle.com>
To: James Freer <jessejazza3.uk@gmail.com>, help-gnu-emacs@gnu.org
Subject: RE: Customising menus... removing bars
Date: Sat, 7 Jun 2014 13:56:20 -0700 (PDT) [thread overview]
Message-ID: <78d762d8-e967-4454-a08b-46b144aacaec@default> (raw)
In-Reply-To: <alpine.DEB.2.10.1406072019450.2161@james>
> I want to remove the Buffers, Tools, Lisp-Interpreter, Help - to put it simply.
In your init file:
(define-key global-map [menu-bar buffer] nil)
(define-key global-map [menu-bar tools] nil)
(define-key global-map [menu-bar help-menu] nil)
Lisp-Interpreter is mode-specific. Find the major mode that uses it and
then remove it from that major-mode's keymap (instead of `global-map', as
above).
> I don't want all the contents of File, Edit, Options really.
Look in file `menu-bar.el', find which menu items you want to remove, and set
those command bindings to nil.
next prev parent reply other threads:[~2014-06-07 20:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-07 19:32 Customising menus... removing bars James Freer
2014-06-07 20:56 ` Drew Adams [this message]
2014-06-07 21:23 ` Alexander Baier
2014-06-07 21:46 ` James Freer
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=78d762d8-e967-4454-a08b-46b144aacaec@default \
--to=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=jessejazza3.uk@gmail.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.
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.