summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bytecomp.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-02-25 18:13:42 +0200
committerEli Zaretskii <eliz@gnu.org>2013-02-25 18:13:42 +0200
commit0248b0d70b891c952385daa787fb00c9bdd42935 (patch)
treeaafa490dd844b91e713981f8fcbd78b29a0a304f /lisp/emacs-lisp/bytecomp.el
parentb5071fc755c4f287c7befba1150d91a985762ebd (diff)
downloademacs-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