HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c136188
)
(Fformat): While copying text properties, make each composition
author
Kenichi Handa
<handa@m17n.org>
Tue, 4 Jul 2000 07:37:30 +0000
(07:37 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Tue, 4 Jul 2000 07:37:30 +0000
(07:37 +0000)
property value a copy.
src/editfns.c
patch
|
blob
|
blame
|
history
diff --git
a/src/editfns.c
b/src/editfns.c
index
63c1183
..
d2734a0
100644
(file)
--- 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));
}