aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-09-07 14:05:55 +0000
committerGerd Moellmann2000-09-07 14:05:55 +0000
commit85996cfb360460b83552a99ecb1ace4a4b0a5a08 (patch)
treec48c6f24d2f88692ea2caebd3c9bf35a2f219c99 /src
parentf2e7d5eb702fd5eed22ec4a7363c27c46b0e82cf (diff)
downloademacs-85996cfb360460b83552a99ecb1ace4a4b0a5a08.tar.gz
emacs-85996cfb360460b83552a99ecb1ace4a4b0a5a08.zip
(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.
Diffstat (limited to 'src')
-rw-r--r--src/xmenu.c6
1 files changed, 6 insertions, 0 deletions
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)
2461 = XVECTOR (menu_items)->contents[i + MENU_ITEMS_PANE_PREFIX]; 2461 = XVECTOR (menu_items)->contents[i + MENU_ITEMS_PANE_PREFIX];
2462 i += MENU_ITEMS_PANE_LENGTH; 2462 i += MENU_ITEMS_PANE_LENGTH;
2463 } 2463 }
2464 else if (EQ (XVECTOR (menu_items)->contents[i], Qquote))
2465 {
2466 /* This is the boundary between left-side elts and
2467 right-side elts. */
2468 ++i;
2469 }
2464 else 2470 else
2465 { 2471 {
2466 entry 2472 entry