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

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

Re: terminal-emulator doesn't like menus


From: Stefan Monnier
Subject: Re: terminal-emulator doesn't like menus
Date: 07 Feb 2002 11:58:16 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50

>>>>> "Richard" == Richard Stallman <address@hidden> writes:
>     (let ((map (make-sparse-keymap)))
> +     ;; Prevent defining [menu-bar] as te-pass-through
> +     ;; so we allow the global menu bar to be visible.
> +     (define-key map [menu-bar] (make-sparse-keymap))
>       (define-key map [t] 'te-pass-through)

Binding menu-bar to nil instead of (make-sparse-keymap) should
also work (this is used in isearch-mode-map).


        Stefan



reply via email to

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