[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Remove Org and Tbl from menubar for derived mode
From: |
Carsten Dominik |
Subject: |
Re: [O] Remove Org and Tbl from menubar for derived mode |
Date: |
Fri, 13 Sep 2013 14:44:31 +0200 |
On Sep 13, 2013, at 2:28 PM, Christian Wittern <address@hidden> wrote:
> Hi there,
>
> 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, who
> will be Emacs newbies in most cases.
> I tried several things like
>
> (define-key org-mode-map [menu-bar Org] nil)
> or
> (define-key global-map [menu-bar Org] nil)
> and some other combinations of this line of thought, but nothing succeeded in
> removing the stuff.
>
> I wonder if anybody here has any advice?
Interesting question, and I do not know the answer. Only that you certainly
should not change the org-mode-map, because such changes would have effects in
all Org mode buffers.
- Carsten
>
> All the best and thanks in advance,
>
> Christian
>
> --
> Christian Wittern, Kyoto
>
>
signature.asc
Description: Message signed with OpenPGP using GPGMail