[Top][All Lists]

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

Re: Removing menu from menu bar

From: martin rudalics
Subject: Re: Removing menu from menu bar
Date: Thu, 05 Jun 2008 19:19:56 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

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 via email to

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