Avoid assertion violations in push_prefix_prop
* src/xdisp.c (push_prefix_prop): Avoid assertion violations when a line that has a line-prefix defined starts with an image. (Bug#21428)
This commit is contained in:
parent
80a86074a8
commit
4a6780ea89
1 changed files with 2 additions and 1 deletions
|
@ -19836,7 +19836,8 @@ push_prefix_prop (struct it *it, Lisp_Object prop)
|
|||
|
||||
eassert (it->method == GET_FROM_BUFFER
|
||||
|| it->method == GET_FROM_DISPLAY_VECTOR
|
||||
|| it->method == GET_FROM_STRING);
|
||||
|| it->method == GET_FROM_STRING
|
||||
|| it->method == GET_FROM_IMAGE);
|
||||
|
||||
/* We need to save the current buffer/string position, so it will be
|
||||
restored by pop_it, because iterate_out_of_display_property
|
||||
|
|
Loading…
Add table
Reference in a new issue