diff options
author | Eli Zaretskii <eliz@gnu.org> | 2020-03-19 16:57:35 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2020-03-19 16:57:35 +0200 |
commit | d98afc1019d9f177dd05042371dd8239b7901d47 (patch) | |
tree | 3c388edab33bd6fc9c10b6f1d83230c7950308d3 /lisp/emacs-lisp | |
parent | 37d3c1618b6cdf7efc90015fb2786aa30ef0de47 (diff) | |
download | emacs-d98afc1019d9f177dd05042371dd8239b7901d47.tar.gz emacs-d98afc1019d9f177dd05042371dd8239b7901d47.tar.bz2 emacs-d98afc1019d9f177dd05042371dd8239b7901d47.zip |
Fix display of :box face when overlay strings are around
* src/xdisp.c (reset_box_start_end_flags): New function.
(handle_face_prop): Only set the start_of_box_run_p flag, don't
reset it.
(pop_it): Set the face_box_p flag, if the popped face requires
that, when continuing iteration over buffer text.
(get_next_display_element, next_element_from_display_vector): Only
set the end_of_box_run_p flag, never reset it here.
(set_iterator_to_next): Don't reset the start_of_box_run_p and
end_of_box_run_p flags here. They are now reset as side effect of
PRODUCE_GLYPHS.
(append_space_for_newline): Restore the end_of_box_run_p flag
after PRODUCE_GLYPHS where we previously didn't reset it.
* src/dispextern.h (PRODUCE_GLYPHS): Call
reset_box_start_end_flags after producing glyphs.
(Bug#40124)
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions