emacs-devel
[Top][All Lists]
Advanced

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

Re: menu-bar-map variable


From: Richard Stallman
Subject: Re: menu-bar-map variable
Date: Sun, 01 Apr 2007 17:42:18 -0400

    (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.




reply via email to

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