(xdialog_show): When looking up the selection in

menu_items, take `quote' boundaries into account; this corresponds
to a nil ITEM in x-popup-dialog.
This commit is contained in:
Gerd Moellmann 2000-09-07 14:05:55 +00:00
parent f2e7d5eb70
commit 85996cfb36

View file

@ -2461,6 +2461,12 @@ xdialog_show (f, keymaps, title, error)
= XVECTOR (menu_items)->contents[i + MENU_ITEMS_PANE_PREFIX];
i += MENU_ITEMS_PANE_LENGTH;
}
else if (EQ (XVECTOR (menu_items)->contents[i], Qquote))
{
/* This is the boundary between left-side elts and
right-side elts. */
++i;
}
else
{
entry