changeset 30420:3ed29d254c6c

(keymap_panes): Pass the keymap's prompt as the pane name to single_keymap_panes.
author Eli Zaretskii <eliz@gnu.org>
date Mon, 24 Jul 2000 15:11:52 +0000
parents 7ad38c10a728
children 544a9b8ebb8d
files src/xmenu.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 ();
 }