Mercurial > emacs
diff src/w32menu.c @ 39690:38c1890338cc
(keymap_panes, Fx_popup_menu): Use Fkeymap_prompt.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 08 Oct 2001 11:12:23 +0000 |
parents | 5f60884970a8 |
children | bf81460680f2 |
line wrap: on
line diff
--- a/src/w32menu.c Mon Oct 08 09:47:10 2001 +0000 +++ b/src/w32menu.c Mon Oct 08 11:12:23 2001 +0000 @@ -25,6 +25,7 @@ #include "lisp.h" #include "termhooks.h" #include "keyboard.h" +#include "keymap.h" #include "frame.h" #include "window.h" #include "blockinput.h" @@ -394,7 +395,7 @@ P is the number of panes we have made so far. */ for (mapno = 0; mapno < nmaps; mapno++) single_keymap_panes (keymaps[mapno], - map_prompt (keymaps[mapno]), Qnil, notreal, 10); + Fkeymap_prompt (keymaps[mapno]), Qnil, notreal, 10); finish_menu_items (); } @@ -727,7 +728,7 @@ /* Search for a string appearing directly as an element of the keymap. That string is the title of the menu. */ - prompt = map_prompt (keymap); + prompt = Fkeymap_prompt (keymap); if (NILP (title) && !NILP (prompt)) title = prompt; @@ -755,7 +756,7 @@ maps[i++] = keymap = get_keymap (Fcar (tem), 1, 0); - prompt = map_prompt (keymap); + prompt = Fkeymap_prompt (keymap); if (NILP (title) && !NILP (prompt)) title = prompt; }