comparison src/extents.c @ 253:157b30c96d03 r20-5b25

Import from CVS: tag r20-5b25
author cvs
date Mon, 13 Aug 2007 10:20:27 +0200
parents 2c611d1463a6
children c5d627a313b1
comparison
equal deleted inserted replaced
252:afb15df44434 253:157b30c96d03
2869 2869
2870 if (!NILP (extent_face (e))) 2870 if (!NILP (extent_face (e)))
2871 Dynarr_add (ef->extents, e); 2871 Dynarr_add (ef->extents, e);
2872 if (e == lhe) 2872 if (e == lhe)
2873 { 2873 {
2874 Lisp_Object f;
2874 /* memset isn't really necessary; we only deref `priority' 2875 /* memset isn't really necessary; we only deref `priority'
2875 and `face' */ 2876 and `face' */
2876 memset (&dummy_lhe_extent, 0, sizeof (dummy_lhe_extent)); 2877 memset (&dummy_lhe_extent, 0, sizeof (dummy_lhe_extent));
2877 set_extent_priority (&dummy_lhe_extent, 2878 set_extent_priority (&dummy_lhe_extent,
2878 mouse_highlight_priority); 2879 mouse_highlight_priority);
2879 extent_face (&dummy_lhe_extent) = extent_mouse_face (lhe); 2880 /* Need to break up thefollowing expression, due to an */
2881 /* error in the Digital UNIX 3.2g C compiler (Digital */
2882 /* UNIX Compiler Driver 3.11). */
2883 f = extent_mouse_face (lhe);
2884 extent_face (&dummy_lhe_extent) = f;
2880 Dynarr_add (ef->extents, &dummy_lhe_extent); 2885 Dynarr_add (ef->extents, &dummy_lhe_extent);
2881 } 2886 }
2882 /* since we are looping anyway, we might as well do this here */ 2887 /* since we are looping anyway, we might as well do this here */
2883 if ((!NILP(extent_initial_redisplay_function (e))) && 2888 if ((!NILP(extent_initial_redisplay_function (e))) &&
2884 !extent_in_red_event_p(e)) 2889 !extent_in_red_event_p(e))