diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-02-25 18:13:42 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-02-25 18:13:42 +0200 |
commit | 0248b0d70b891c952385daa787fb00c9bdd42935 (patch) | |
tree | aafa490dd844b91e713981f8fcbd78b29a0a304f /lisp/emacs-lisp/bytecomp.el | |
parent | b5071fc755c4f287c7befba1150d91a985762ebd (diff) | |
download | emacs-0248b0d70b891c952385daa787fb00c9bdd42935.tar.gz emacs-0248b0d70b891c952385daa787fb00c9bdd42935.tar.bz2 emacs-0248b0d70b891c952385daa787fb00c9bdd42935.zip |
Fix bug #13743 with crashes due to recursive add-text-properties.
src/textprop.c (Fadd_text_properties, Fremove_text_properties)
(Fremove_list_of_text_properties): Skip all of the intervals in
the region between START and END that already have resp. don't
have the requested properties, not just the first one. Add
assertions that the loop afterwards always modifies the
properties.
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
0 files changed, 0 insertions, 0 deletions