summaryrefslogtreecommitdiff
path: root/mac
diff options
context:
space:
mode:
Diffstat (limited to 'mac')
-rw-r--r--mac/src/macterm.c5
1 files 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;
}
}