summaryrefslogtreecommitdiff
path: root/src/w32menu.c
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2001-10-08 11:12:23 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2001-10-08 11:12:23 +0000
commit5ee707b8f12eb9ac8cb815f77211a07e5bd9a781 (patch)
treec0ef793b0f35aa0d66aaeecc4bf062bae9894f66 /src/w32menu.c
parent54cbc3d4cd6541d32c02f0f5bc4decd637e2ed50 (diff)
downloademacs-5ee707b8f12eb9ac8cb815f77211a07e5bd9a781.tar.gz
(keymap_panes, Fx_popup_menu): Use Fkeymap_prompt.
Diffstat (limited to 'src/w32menu.c')
-rw-r--r--src/w32menu.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/w32menu.c b/src/w32menu.c
index d627d889db5..a30328e7ea9 100644
--- a/src/w32menu.c
+++ b/src/w32menu.c
@@ -25,6 +25,7 @@ Boston, MA 02111-1307, USA. */
#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 @@ keymap_panes (keymaps, nmaps, notreal)
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 @@ cached information about equivalent key sequences.")
/* 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 @@ cached information about equivalent key sequences.")
maps[i++] = keymap = get_keymap (Fcar (tem), 1, 0);
- prompt = map_prompt (keymap);
+ prompt = Fkeymap_prompt (keymap);
if (NILP (title) && !NILP (prompt))
title = prompt;
}