emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: [unicode-2] tmm-menubar breaks in org mode


From: Stefan Monnier
Subject: Re: [unicode-2] tmm-menubar breaks in org mode
Date: Fri, 13 Apr 2007 09:11:21 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux)

> Here is the code that does this:

> (define-key org-mode-map [menu-bar headings] 'undefined)
> (define-key org-mode-map [menu-bar hide] 'undefined)
> (define-key org-mode-map [menu-bar show] 'undefined))

If org-mode-map inherits from outline-mode-map, then it should be OK,
although binding them to nil rather than `undefined' should work as well
(nil bindings hide other bindings in parent keymaps, but not in lower-level
keymaps).


        Stefan




reply via email to

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