Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5964e450
Commit
5964e450
authored
Apr 16, 1994
by
Richard M. Stallman
Browse files
(xmenu_show): Don't cons on subprefix_stck[j] if nil.
parent
71e61810
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/xmenu.c
src/xmenu.c
+2
-1
No files found.
src/xmenu.c
View file @
5964e450
...
...
@@ -1727,7 +1727,8 @@ xmenu_show (f, x, y, menubarp, keymaps, title, error)
if
(
!
NILP
(
prefix
))
entry
=
Fcons
(
prefix
,
entry
);
for
(
j
=
submenu_depth
-
1
;
j
>=
0
;
j
--
)
entry
=
Fcons
(
subprefix_stack
[
j
],
entry
);
if
(
!
NILP
(
subprefix_stack
[
j
],
entry
))
entry
=
Fcons
(
subprefix_stack
[
j
],
entry
);
}
return
entry
;
}
...
...
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