Implement new function `add-face-text-property'
commit013f4a03b1eebbea9afa8b25e6cc8b0fae4dacca
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 17 Jun 2013 15:28:22 +0000 (17 17:28 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 17 Jun 2013 15:28:22 +0000 (17 17:28 +0200)
tree3c366b6968fab12f1c4938869319f94891ee89c9
parentd4c7eb8e7cea4416642f9dc2c5d8de33e36c7f2b
Implement new function `add-face-text-property'

* doc/lispref/text.texi (Changing Properties): Document `add-face-text-property'.

* src/textprop.c (property_set_type): New enum.
(add_properties): Allow appending/prepending text properties.
(add_text_properties_1): Factored out of Fadd_text_properties.
(Fadd_text_properties): Moved all the code into
add_text_properties_1.
(Fadd_face_text_property): New function that calls
add_text_properties_1.
doc/lispref/ChangeLog
doc/lispref/text.texi
etc/NEWS
src/ChangeLog
src/textprop.c