aboutsummaryrefslogtreecommitdiffstats
path: root/mac/src
diff options
context:
space:
mode:
authorStefan Monnier2001-10-08 11:34:14 +0000
committerStefan Monnier2001-10-08 11:34:14 +0000
commite7cbccd10395c338fcaf8d3d5b6abf728a053600 (patch)
tree0c506efede7341f8db8c4170282f19e0c32e4e42 /mac/src
parent14bfa7715d082d406ce337127a24a66abcff2eb1 (diff)
downloademacs-e7cbccd10395c338fcaf8d3d5b6abf728a053600.tar.gz
emacs-e7cbccd10395c338fcaf8d3d5b6abf728a053600.zip
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. */
90#include "intervals.h" 90#include "intervals.h"
91#include "process.h" 91#include "process.h"
92#include "atimer.h" 92#include "atimer.h"
93#include "keymap.h"
93#include "coding.h" 94#include "coding.h"
94 95
95#ifdef HAVE_UNISTD_H 96#ifdef HAVE_UNISTD_H
@@ -6809,13 +6810,13 @@ note_mode_line_highlight (w, x, mode_line_p)
6809 /* Change the mouse pointer according to what is under X/Y. */ 6810 /* Change the mouse pointer according to what is under X/Y. */
6810 map = Fget_text_property (make_number (glyph->charpos), 6811 map = Fget_text_property (make_number (glyph->charpos),
6811 Qlocal_map, glyph->object); 6812 Qlocal_map, glyph->object);
6812 if (!NILP (Fkeymapp (map))) 6813 if (KEYMAPP (map))
6813 cursor = f->output_data.mac->nontext_cursor; 6814 cursor = f->output_data.mac->nontext_cursor;
6814 else 6815 else
6815 { 6816 {
6816 map = Fget_text_property (make_number (glyph->charpos), 6817 map = Fget_text_property (make_number (glyph->charpos),
6817 Qkeymap, glyph->object); 6818 Qkeymap, glyph->object);
6818 if (!NILP (Fkeymapp (map))) 6819 if (KEYMAPP (map))
6819 cursor = f->output_data.mac->nontext_cursor; 6820 cursor = f->output_data.mac->nontext_cursor;
6820 } 6821 }
6821 } 6822 }