Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
10bba266
Commit
10bba266
authored
May 25, 1994
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(menu_item_equiv_key): Look for equiv keys both before
and after one stage of symbol function indirection.
parent
84f4e216
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/xmenu.c
src/xmenu.c
+7
-0
No files found.
src/xmenu.c
View file @
10bba266
...
...
@@ -331,6 +331,13 @@ menu_item_equiv_key (item_string, item1, descrip_ptr)
changed
=
1
;
descrip
=
Qnil
;
savedkey
=
Fwhere_is_internal
(
def
,
Qnil
,
Qt
,
Qnil
);
/* If the command is an alias for another
(such as easymenu.el and lmenu.el set it up),
see if the original command name has equivalent keys. */
if
(
SYMBOLP
(
def
)
&&
SYMBOLP
(
XSYMBOL
(
def
)
->
function
))
savedkey
=
Fwhere_is_internal
(
XSYMBOL
(
def
)
->
function
,
Qnil
,
Qt
,
Qnil
);
if
(
VECTORP
(
savedkey
)
&&
EQ
(
XVECTOR
(
savedkey
)
->
contents
[
0
],
Qmenu_bar
))
savedkey
=
Qnil
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment