From: Gerd Moellmann Date: Thu, 7 Sep 2000 14:05:55 +0000 (+0000) Subject: (xdialog_show): When looking up the selection in X-Git-Tag: emacs-pretest-21.0.90~1725 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=85996cfb360460b83552a99ecb1ace4a4b0a5a08;p=emacs.git (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. --- diff --git a/src/xmenu.c b/src/xmenu.c index f8b1fc4c605..07e050018f8 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -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