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: Richard Stallman
Subject: Re: terminal-emulator doesn't like menus
Date: Thu, 7 Feb 2002 07:58:49 -0700 (MST)

Does this fix it?

*** terminal.el.~1.46.~ Fri Dec 21 04:06:02 2001
--- terminal.el Thu Feb  7 08:39:39 2002
***************
*** 100,105 ****
--- 100,108 ----
  (if terminal-map
      nil
    (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)
      (define-key map [switch-frame] 'handle-switch-frame)
      (define-key map "\e" terminal-meta-map)



reply via email to

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