Mercurial > emacs
changeset 30023:ec25786e4705
(Fformat): While copying text properties, make each composition
property value a copy.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 04 Jul 2000 07:37:30 +0000 |
parents | 6a52904a743b |
children | 9fd285caeb51 |
files | src/editfns.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/editfns.c Tue Jul 04 07:36:58 2000 +0000 +++ b/src/editfns.c Tue Jul 04 07:37:30 2000 +0000 @@ -3201,6 +3201,10 @@ 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)); }