Mercurial > emacs
changeset 39695:0f5c2cf91c81
Include keymap.h.
(note_mode_line_highlight): Use kEYMAPP.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 08 Oct 2001 11:34:14 +0000 |
parents | a13ef22770a7 |
children | 71c1cd438d8b |
files | mac/src/macterm.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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; } }