# HG changeset patch # User Stefan Monnier # Date 1002540854 0 # Node ID 0f5c2cf91c8110c7527c8cb5e3078d90b3071684 # Parent a13ef22770a79f7dff81d6524d01194be202f2e2 Include keymap.h. (note_mode_line_highlight): Use kEYMAPP. diff -r a13ef22770a7 -r 0f5c2cf91c81 mac/src/macterm.c --- a/mac/src/macterm.c Mon Oct 08 11:32:24 2001 +0000 +++ b/mac/src/macterm.c Mon Oct 08 11:34:14 2001 +0000 @@ -90,6 +90,7 @@ #include "intervals.h" #include "process.h" #include "atimer.h" +#include "keymap.h" #include "coding.h" #ifdef HAVE_UNISTD_H @@ -6809,13 +6810,13 @@ /* 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; } }