]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fformat): While copying text properties, make each composition
authorKenichi Handa <handa@m17n.org>
Tue, 4 Jul 2000 07:37:30 +0000 (07:37 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 4 Jul 2000 07:37:30 +0000 (07:37 +0000)
property value a copy.

src/editfns.c

index 63c1183837ca25275acb69d4cd6dad1bb48ec203..d2734a0166ab95a4770ad251b922926431c1a9af 100644 (file)
@@ -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));
            }