summaryrefslogtreecommitdiff
path: root/src/term.c
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2009-04-30 05:01:57 +0000
committerChong Yidong <cyd@stupidchicken.com>2009-04-30 05:01:57 +0000
commit6970f632f1ffd15191f5b1f97d6a667a1f51c6cf (patch)
treecf504c7e0db07920214f1d4d56ce04d634118dd8 /src/term.c
parent0c616f63423c764b93c348752521e3695319bca8 (diff)
downloademacs-6970f632f1ffd15191f5b1f97d6a667a1f51c6cf.tar.gz
* xfaces.c (face_at_buffer_position): New arg base_face_id.
* xdisp.c (handle_face_prop): Pass base_face_id of iterator to face_at_buffer_position. (face_before_or_after_it_pos, get_next_display_element) (note_mouse_highlight): Update face_at_buffer_position call. * term.c (term_mouse_highlight): * msdos.c (IT_note_mouse_highlight): * fontset.c (Finternal_char_font): * font.c (font_at, font_range): Update face_at_buffer_position call. * dispextern.h (face_at_buffer_position): Update prototype.
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/term.c b/src/term.c
index d30ab8709bf..f9875f8bc06 100644
--- a/src/term.c
+++ b/src/term.c
@@ -2851,7 +2851,7 @@ term_mouse_highlight (struct frame *f, int x, int y)
mouse_face_face_id
= face_at_buffer_position (w, pos, 0, 0,
- &ignore, pos + 1, 1);
+ &ignore, pos + 1, 1, -1);
/* Display it as active. */
term_show_mouse_face (DRAW_MOUSE_FACE);
@@ -2886,7 +2886,7 @@ term_mouse_highlight (struct frame *f, int x, int y)
mouse_face_face_id
= face_at_buffer_position (w, pos, 0, 0,
- &ignore, pos + 1, 1);
+ &ignore, pos + 1, 1, -1);
/* Display it as active. */
term_show_mouse_face (DRAW_MOUSE_FACE);