Mercurial > emacs
changeset 39696:71c1cd438d8b
(Fx_popup_menu): Use Fkeymap_prompt.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 08 Oct 2001 11:36:45 +0000 |
parents | 0f5c2cf91c81 |
children | 0b986bb45526 |
files | mac/src/macmenu.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 <MacTypes.h> #include <Menus.h> @@ -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; }