From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Remove Org and Tbl from menubar for derived mode Date: Sat, 14 Sep 2013 10:12:35 +0530 Message-ID: <87ob7wj9ok.fsf@gmail.com> References: <523304D4.90604@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKheh-000322-Bj for emacs-orgmode@gnu.org; Sat, 14 Sep 2013 00:40:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VKheY-0006rX-UX for emacs-orgmode@gnu.org; Sat, 14 Sep 2013 00:40:23 -0400 Received: from mail-pb0-x22e.google.com ([2607:f8b0:400e:c01::22e]:63933) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKheY-0006rI-Mg for emacs-orgmode@gnu.org; Sat, 14 Sep 2013 00:40:14 -0400 Received: by mail-pb0-f46.google.com with SMTP id rq2so2023702pbb.33 for ; Fri, 13 Sep 2013 21:40:13 -0700 (PDT) In-Reply-To: <523304D4.90604@gmail.com> (Christian Wittern's message of "Fri, 13 Sep 2013 21:28:04 +0900") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Christian Wittern Cc: Org Mode Mailing List Christian Wittern writes: > I am developing a mode derived from org for special editing and > browsing purposes. I will add my own menu to the menubar and would > like to remove the menus added by org, "Org" and "Tbl", in order not > to confuse my users Try this (add-hook 'org-mode-hook (lambda nil (local-unset-key [menu-bar Org])))