(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:
parent
f2e7d5eb70
commit
85996cfb36
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue