From e7cbccd10395c338fcaf8d3d5b6abf728a053600 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 8 Oct 2001 11:34:14 +0000 Subject: [PATCH] Include keymap.h. (note_mode_line_highlight): Use kEYMAPP. --- mac/src/macterm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mac/src/macterm.c b/mac/src/macterm.c index 7775e28fb15..d84eea70573 100644 --- a/mac/src/macterm.c +++ b/mac/src/macterm.c @@ -90,6 +90,7 @@ Boston, MA 02111-1307, USA. */ #include "intervals.h" #include "process.h" #include "atimer.h" +#include "keymap.h" #include "coding.h" #ifdef HAVE_UNISTD_H @@ -6809,13 +6810,13 @@ note_mode_line_highlight (w, x, mode_line_p) /* Change the mouse pointer according to what is under X/Y. */ map = Fget_text_property (make_number (glyph->charpos), Qlocal_map, glyph->object); - if (!NILP (Fkeymapp (map))) + if (KEYMAPP (map)) cursor = f->output_data.mac->nontext_cursor; else { map = Fget_text_property (make_number (glyph->charpos), Qkeymap, glyph->object); - if (!NILP (Fkeymapp (map))) + if (KEYMAPP (map)) cursor = f->output_data.mac->nontext_cursor; } } -- 2.39.2