aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 2577bc46efb..ddd247b3430 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -307,7 +307,6 @@ extern Lisp_Object Qheight;
307extern Lisp_Object QCwidth, QCheight, QCascent; 307extern Lisp_Object QCwidth, QCheight, QCascent;
308extern Lisp_Object Qscroll_bar; 308extern Lisp_Object Qscroll_bar;
309extern Lisp_Object Qcursor; 309extern Lisp_Object Qcursor;
310extern Lisp_Object Qfringe;
311 310
312/* Non-nil means highlight trailing whitespace. */ 311/* Non-nil means highlight trailing whitespace. */
313 312
@@ -3569,6 +3568,7 @@ handle_single_display_prop (it, prop, object, position,
3569 && CONSP (XCDR (prop))) 3568 && CONSP (XCDR (prop)))
3570 { 3569 {
3571 unsigned face_id = DEFAULT_FACE_ID; 3570 unsigned face_id = DEFAULT_FACE_ID;
3571 int fringe_bitmap;
3572 3572
3573 /* Save current settings of IT so that we can restore them 3573 /* Save current settings of IT so that we can restore them
3574 when we are finished with the glyph property value. */ 3574 when we are finished with the glyph property value. */
@@ -3580,8 +3580,7 @@ handle_single_display_prop (it, prop, object, position,
3580#ifdef HAVE_WINDOW_SYSTEM 3580#ifdef HAVE_WINDOW_SYSTEM
3581 value = XCAR (XCDR (prop)); 3581 value = XCAR (XCDR (prop));
3582 if (!SYMBOLP (value) 3582 if (!SYMBOLP (value)
3583 || (value = Fget (value, Qfringe), 3583 || !(fringe_bitmap = lookup_fringe_bitmap (value)))
3584 !valid_fringe_bitmap_p (value)))
3585 return 0; 3584 return 0;
3586 3585
3587 if (CONSP (XCDR (XCDR (prop)))) 3586 if (CONSP (XCDR (XCDR (prop))))
@@ -3610,12 +3609,12 @@ handle_single_display_prop (it, prop, object, position,
3610 3609
3611 if (EQ (XCAR (prop), Qleft_fringe)) 3610 if (EQ (XCAR (prop), Qleft_fringe))
3612 { 3611 {
3613 it->left_user_fringe_bitmap = XINT (value); 3612 it->left_user_fringe_bitmap = fringe_bitmap;
3614 it->left_user_fringe_face_id = face_id; 3613 it->left_user_fringe_face_id = face_id;
3615 } 3614 }
3616 else 3615 else
3617 { 3616 {
3618 it->right_user_fringe_bitmap = XINT (value); 3617 it->right_user_fringe_bitmap = fringe_bitmap;
3619 it->right_user_fringe_face_id = face_id; 3618 it->right_user_fringe_face_id = face_id;
3620 } 3619 }
3621#endif /* HAVE_WINDOW_SYSTEM */ 3620#endif /* HAVE_WINDOW_SYSTEM */