aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xmenu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 9614e752430..83f559a1fdc 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -1727,7 +1727,8 @@ xmenu_show (f, x, y, menubarp, keymaps, title, error)
1727 if (!NILP (prefix)) 1727 if (!NILP (prefix))
1728 entry = Fcons (prefix, entry); 1728 entry = Fcons (prefix, entry);
1729 for (j = submenu_depth - 1; j >= 0; j--) 1729 for (j = submenu_depth - 1; j >= 0; j--)
1730 entry = Fcons (subprefix_stack[j], entry); 1730 if (!NILP (subprefix_stack[j], entry))
1731 entry = Fcons (subprefix_stack[j], entry);
1731 } 1732 }
1732 return entry; 1733 return entry;
1733 } 1734 }