1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

Include keymap.h.

(note_mode_line_highlight): Use kEYMAPP.
This commit is contained in:
Stefan Monnier 2001-10-08 11:34:14 +00:00
parent 14bfa7715d
commit e7cbccd103

View File

@ -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;
}
}