aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2000-07-04 07:37:30 +0000
committerKenichi Handa2000-07-04 07:37:30 +0000
commitbe17069b715f28617d6375ef898f06450c80e6ad (patch)
treecc52bbf049a4ddd3e798fdc87fbebd0bb0f880b3 /src
parentc1361885c561f3e1178ff83160dbdd23b3cfb9d4 (diff)
downloademacs-be17069b715f28617d6375ef898f06450c80e6ad.tar.gz
emacs-be17069b715f28617d6375ef898f06450c80e6ad.zip
(Fformat): While copying text properties, make each composition
property value a copy.
Diffstat (limited to 'src')
-rw-r--r--src/editfns.c4
1 files changed, 4 insertions, 0 deletions
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.")
3201 new_len = make_number (info[n].end - info[n].start); 3201 new_len = make_number (info[n].end - info[n].start);
3202 props = text_property_list (args[n], make_number (0), len, Qnil); 3202 props = text_property_list (args[n], make_number (0), len, Qnil);
3203 extend_property_ranges (props, len, new_len); 3203 extend_property_ranges (props, len, new_len);
3204 /* If successive arguments have properites, be sure that
3205 the value of `composition' property be the copy. */
3206 if (n > 1 && info[n - 1].end)
3207 make_composition_value_copy (props);
3204 add_text_properties_from_list (val, props, 3208 add_text_properties_from_list (val, props,
3205 make_number (info[n].start)); 3209 make_number (info[n].start));
3206 } 3210 }