From 4c9468884c8cb7093e258396acda5a7fb3e09a48 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 12 Oct 2019 23:35:26 +0200 Subject: [PATCH] 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. --- src/textprop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textprop.c b/src/textprop.c index 13cd87ac473..93d19754da5 100644 --- a/src/textprop.c +++ b/src/textprop.c @@ -1351,7 +1351,7 @@ into it. */) (NILP (append) ? TEXT_PROPERTY_PREPEND : TEXT_PROPERTY_APPEND), - !STRINGP (object)); + false); return Qnil; } -- 2.39.5