aboutsummaryrefslogtreecommitdiffstats
path: root/mac/src
diff options
context:
space:
mode:
authorStefan Monnier2001-10-08 11:36:45 +0000
committerStefan Monnier2001-10-08 11:36:45 +0000
commit0c5b23f8ef29d76dd955986e0094549cb7c1aadf (patch)
tree1a6e86554b1b7421d30f193c675ccab5728c700f /mac/src
parente7cbccd10395c338fcaf8d3d5b6abf728a053600 (diff)
downloademacs-0c5b23f8ef29d76dd955986e0094549cb7c1aadf.tar.gz
emacs-0c5b23f8ef29d76dd955986e0094549cb7c1aadf.zip
(Fx_popup_menu): Use Fkeymap_prompt.
Diffstat (limited to 'mac/src')
-rw-r--r--mac/src/macmenu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mac/src/macmenu.c b/mac/src/macmenu.c
index bf695214267..b7ed55adcec 100644
--- a/mac/src/macmenu.c
+++ b/mac/src/macmenu.c
@@ -33,6 +33,7 @@ Boston, MA 02111-1307, USA. */
33#include "buffer.h" 33#include "buffer.h"
34#include "charset.h" 34#include "charset.h"
35#include "coding.h" 35#include "coding.h"
36#include "keymap.h"
36 37
37#include <MacTypes.h> 38#include <MacTypes.h>
38#include <Menus.h> 39#include <Menus.h>
@@ -735,7 +736,7 @@ cached information about equivalent key sequences.")
735 736
736 /* Search for a string appearing directly as an element of the keymap. 737 /* Search for a string appearing directly as an element of the keymap.
737 That string is the title of the menu. */ 738 That string is the title of the menu. */
738 prompt = map_prompt (keymap); 739 prompt = Fkeymap_prompt (keymap);
739 if (NILP (title) && !NILP (prompt)) 740 if (NILP (title) && !NILP (prompt))
740 title = prompt; 741 title = prompt;
741 742
@@ -763,7 +764,7 @@ cached information about equivalent key sequences.")
763 764
764 maps[i++] = keymap = get_keymap (Fcar (tem)); 765 maps[i++] = keymap = get_keymap (Fcar (tem));
765 766
766 prompt = map_prompt (keymap); 767 prompt = Fkeymap_prompt (keymap);
767 if (NILP (title) && !NILP (prompt)) 768 if (NILP (title) && !NILP (prompt))
768 title = prompt; 769 title = prompt;
769 } 770 }