From: Eli Zaretskii Date: Mon, 24 Jul 2000 15:11:52 +0000 (+0000) Subject: (keymap_panes): Pass the keymap's prompt as the pane X-Git-Tag: emacs-pretest-21.0.90~2645 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=488205c001093dd6f240951917e9cd2c6fda345e;p=emacs.git (keymap_panes): Pass the keymap's prompt as the pane name to single_keymap_panes. --- diff --git a/src/xmenu.c b/src/xmenu.c index e341336214a..9e8b05909a2 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -380,7 +380,8 @@ keymap_panes (keymaps, nmaps, notreal) 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 (); }