comparison src/xmenu.c @ 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 8f11e306dc02
children 0c982ed8515f
comparison
equal deleted inserted replaced
30419:7ad38c10a728 30420:3ed29d254c6c
378 378
379 /* Loop over the given keymaps, making a pane for each map. 379 /* Loop over the given keymaps, making a pane for each map.
380 But don't make a pane that is empty--ignore that map instead. 380 But don't make a pane that is empty--ignore that map instead.
381 P is the number of panes we have made so far. */ 381 P is the number of panes we have made so far. */
382 for (mapno = 0; mapno < nmaps; mapno++) 382 for (mapno = 0; mapno < nmaps; mapno++)
383 single_keymap_panes (keymaps[mapno], Qnil, Qnil, notreal, 10); 383 single_keymap_panes (keymaps[mapno],
384 map_prompt (keymaps[mapno]), Qnil, notreal, 10);
384 385
385 finish_menu_items (); 386 finish_menu_items ();
386 } 387 }
387 388
388 /* This is a recursive subroutine of keymap_panes. 389 /* This is a recursive subroutine of keymap_panes.