(xdialog_show): When looking up the selection in
authorGerd Moellmann <gerd@gnu.org>
Thu, 7 Sep 2000 14:05:55 +0000 (14:05 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 7 Sep 2000 14:05:55 +0000 (14:05 +0000)
menu_items, take `quote' boundaries into account; this corresponds
to a nil ITEM in x-popup-dialog.

src/xmenu.c

index f8b1fc4..07e0500 100644 (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