Fix bug #16870 with 'box' face in display strings.
authorEli Zaretskii <eliz@gnu.org>
Thu, 27 Feb 2014 17:42:00 +0000 (19:42 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 27 Feb 2014 17:42:00 +0000 (19:42 +0200)
commit11de63ede082fe5913f9714f4bba05ac6e6b984c
tree0b015bd6df7141b1b283857336ba82bbca3cb344
parent79fc11918a932cfa20abf489267f4d88b48c7bd1
Fix bug #16870 with 'box' face in display strings.

 src/xdisp.c (pop_it): Restore the it->face_box_p flag which could be
 reset by the face of the object just displayed.  See also bug#76.
 (get_next_display_element): If the string came from a display
 property, examine the box face attribute at it->position, not at
 it->current.pos, since the latter was not updated yet.
 (handle_face_prop): Improve commentary.
src/ChangeLog
src/xdisp.c