diff src/term.c @ 103114:fa8e2c663118

* 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.
author Chong Yidong <cyd@stupidchicken.com>
date Thu, 30 Apr 2009 05:01:57 +0000
parents b5e8a934cfd1
children d6ac90c70d24
line wrap: on
line diff
--- a/src/term.c	Thu Apr 30 04:53:57 2009 +0000
+++ b/src/term.c	Thu Apr 30 05:01:57 2009 +0000
@@ -2851,7 +2851,7 @@
 
 		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 @@
 
 		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);