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:
parent
14bfa7715d
commit
e7cbccd103
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user