# HG changeset patch # User Eli Zaretskii # Date 964451512 0 # Node ID 3ed29d254c6c6c18d41ab6d39975572601394b47 # Parent 7ad38c10a7287934cd1b11e78119a13f3438257f (keymap_panes): Pass the keymap's prompt as the pane name to single_keymap_panes. diff -r 7ad38c10a728 -r 3ed29d254c6c src/xmenu.c --- a/src/xmenu.c Mon Jul 24 14:23:08 2000 +0000 +++ b/src/xmenu.c Mon Jul 24 15:11:52 2000 +0000 @@ -380,7 +380,8 @@ But don't make a pane that is empty--ignore that map instead. P is the number of panes we have made so far. */ for (mapno = 0; mapno < nmaps; mapno++) - single_keymap_panes (keymaps[mapno], Qnil, Qnil, notreal, 10); + single_keymap_panes (keymaps[mapno], + map_prompt (keymaps[mapno]), Qnil, notreal, 10); finish_menu_items (); }