emacs-devel
[Top][All Lists]
Advanced

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

Re: menu-bar-map variable


From: Nick Roberts
Subject: Re: menu-bar-map variable
Date: Wed, 4 Apr 2007 09:37:01 +1200

 >     (define-key lisp-interaction-mode-map [menu-bar edit] 'undefined)
 > 
 >     then I get:
 > 
 >     (local-key-binding [menu-bar])
 >     (keymap (edit . undefined))
 > 
 >     but tmm still thinks it's there because it's still in the global list
 > 
 >     (global-key-binding [menu-bar]):
 > 
 >     ...(edit "Edit" keymap (undo ...
 >            ^^^^
 > 
 > Well, that shows the bug.  The definition as `undefined'
 > in the local map should not just be discarded.  It should be kept,
 > so that it overrides the global binding.  Only at the last moment
 > should it be treated as no definition.

I've fixed this now.

-- 
Nick                                           http://www.inet.net.nz/~nickrob




reply via email to

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