mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-05-27 23:56:04 -07:00
Avoid assertion violations in displaying under 'outline-minor-mode'
* src/xdisp.c (init_from_display_pos): Initialize BYTEPOS correctly, since 'init_iterator' no longer computes it from CHARPOS as needed. This fixes a change made on Mar 13, 2013. (Bug#71194)
This commit is contained in:
parent
1bf6583662
commit
4f0121f8db
1 changed files with 1 additions and 1 deletions
|
|
@ -3876,7 +3876,7 @@ init_from_display_pos (struct it *it, struct window *w, struct display_pos *pos)
|
||||||
if (in_ellipses_for_invisible_text_p (pos, w))
|
if (in_ellipses_for_invisible_text_p (pos, w))
|
||||||
{
|
{
|
||||||
--charpos;
|
--charpos;
|
||||||
bytepos = 0;
|
bytepos = BYTE_TO_CHAR (charpos);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Keep in mind: the call to reseat in init_iterator skips invisible
|
/* Keep in mind: the call to reseat in init_iterator skips invisible
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue