summaryrefslogtreecommitdiff
path: root/mac/src
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2001-10-08 11:34:14 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2001-10-08 11:34:14 +0000
commite7cbccd10395c338fcaf8d3d5b6abf728a053600 (patch)
tree0c506efede7341f8db8c4170282f19e0c32e4e42 /mac/src
parent14bfa7715d082d406ce337127a24a66abcff2eb1 (diff)
downloademacs-e7cbccd10395c338fcaf8d3d5b6abf728a053600.tar.gz
Include keymap.h.
(note_mode_line_highlight): Use kEYMAPP.
Diffstat (limited to 'mac/src')
-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;
}
}