# HG changeset patch # User Stefan Monnier # Date 1002541005 0 # Node ID 71c1cd438d8bce30c2c8abf5e4dbf10d9e9b96ed # Parent 0f5c2cf91c8110c7527c8cb5e3078d90b3071684 (Fx_popup_menu): Use Fkeymap_prompt. diff -r 0f5c2cf91c81 -r 71c1cd438d8b mac/src/macmenu.c --- a/mac/src/macmenu.c Mon Oct 08 11:34:14 2001 +0000 +++ b/mac/src/macmenu.c Mon Oct 08 11:36:45 2001 +0000 @@ -33,6 +33,7 @@ #include "buffer.h" #include "charset.h" #include "coding.h" +#include "keymap.h" #include #include @@ -735,7 +736,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; @@ -763,7 +764,7 @@ maps[i++] = keymap = get_keymap (Fcar (tem)); - prompt = map_prompt (keymap); + prompt = Fkeymap_prompt (keymap); if (NILP (title) && !NILP (prompt)) title = prompt; }