diff options
author | Eli Zaretskii <eliz@gnu.org> | 2015-08-07 16:42:24 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2015-08-07 16:42:24 +0300 |
commit | 701484d524835e3461f521138399893366229ae5 (patch) | |
tree | 6852c68d7aa2cf10db2a930a0995502e11dd7b94 /lisp/window.el | |
parent | 0aec2aaccd8b745fa7214f3edd453c04a04bfba4 (diff) | |
download | emacs-701484d524835e3461f521138399893366229ae5.tar.gz |
Avoid infinite loop in display of invisible text in strings
* src/xdisp.c (handle_invisible_prop): If the next change of
invisibility spec does not mean the beginning of a visible text,
update the string position from which to start the search for the
next invisibility change. This avoids an infinite loop when we
have more than one invisibility spec that are made inactive by
buffer-invisibility-spec. Simplify code. (Bug#21200)
* test/redisplay-testsuite.el (test-redisplay-4): Add a test case
for the situation that caused bug #21200.
Diffstat (limited to 'lisp/window.el')
0 files changed, 0 insertions, 0 deletions