From be17069b715f28617d6375ef898f06450c80e6ad Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 4 Jul 2000 07:37:30 +0000 Subject: [PATCH] (Fformat): While copying text properties, make each composition property value a copy. --- src/editfns.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/editfns.c b/src/editfns.c index 63c1183837c..d2734a0166a 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -3201,6 +3201,10 @@ Use %% to put a single % into the output.") new_len = make_number (info[n].end - info[n].start); props = text_property_list (args[n], make_number (0), len, Qnil); extend_property_ranges (props, len, new_len); + /* If successive arguments have properites, be sure that + the value of `composition' property be the copy. */ + if (n > 1 && info[n - 1].end) + make_composition_value_copy (props); add_text_properties_from_list (val, props, make_number (info[n].start)); } -- 2.39.2