* REQ: lookup-key to return raw binding
@ 2005-04-10 20:42 David Reitter
0 siblings, 0 replies; only message in thread
From: David Reitter @ 2005-04-10 20:42 UTC (permalink / raw)
When I do something like
(lookup-key global-map [menu-bar file open-file])
all I get is the pure command, 'find-file-existing, in this case - but
not the arguments :enable and :help that were defined in menu-bar.el:
(define-key menu-bar-file-menu [open-file]
'(menu-item "Open File..." find-file-existing
:enable (not (window-minibuffer-p
(frame-selected-window menu-updating-frame)))
:help "Read an existing file into an Emacs buffer"))
However, I need the complete data in order to modify single elements of
a menu-item for a given key.
Thanks.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-04-10 20:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-10 20:42 REQ: lookup-key to return raw binding David Reitter
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.