Mercurial > emacs
comparison src/xdisp.c @ 54407:85da7ff1fca3
(note_mode_line_or_margin_highlight): Accept HEADER_LINE when keymap and cursor are setup.
author | Masatake YAMATO <jet@gyve.org> |
---|---|
date | Tue, 16 Mar 2004 13:12:03 +0000 |
parents | 4db32fef9348 |
children | 5b0aa631db90 5f17f5c40152 |
comparison
equal
deleted
inserted
replaced
54406:1647b704e48e | 54407:85da7ff1fca3 |
---|---|
20347 | 20347 |
20348 if (NILP (pointer)) | 20348 if (NILP (pointer)) |
20349 pointer = Fget_text_property (pos, Qpointer, string); | 20349 pointer = Fget_text_property (pos, Qpointer, string); |
20350 | 20350 |
20351 /* Change the mouse pointer according to what is under X/Y. */ | 20351 /* Change the mouse pointer according to what is under X/Y. */ |
20352 if (NILP (pointer) && area == ON_MODE_LINE) | 20352 if (NILP (pointer) && ((area == ON_MODE_LINE) || (area == ON_HEADER_LINE))) |
20353 { | 20353 { |
20354 Lisp_Object map; | 20354 Lisp_Object map; |
20355 map = Fget_text_property (pos, Qlocal_map, string); | 20355 map = Fget_text_property (pos, Qlocal_map, string); |
20356 if (!KEYMAPP (map)) | 20356 if (!KEYMAPP (map)) |
20357 map = Fget_text_property (pos, Qkeymap, string); | 20357 map = Fget_text_property (pos, Qkeymap, string); |