Make Fadd_face_text_property even less destructive

* src/textprop.c (Fadd_face_text_property): We need to be
non-destructive in buffers, too, because face properties may have
been added with `put-text-property' as a list that's been reused.
This commit is contained in:
Lars Ingebrigtsen 2019-10-12 23:35:26 +02:00
parent 6c677a101d
commit 4c9468884c

View file

@ -1351,7 +1351,7 @@ into it. */)
(NILP (append)
? TEXT_PROPERTY_PREPEND
: TEXT_PROPERTY_APPEND),
!STRINGP (object));
false);
return Qnil;
}