aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2013-06-17 17:28:22 +0200
committerLars Magne Ingebrigtsen2013-06-17 17:28:22 +0200
commit708e05f6d1b39313a63e34a5b4e1a16ae809ae25 (patch)
tree406e73905374997269b8d123e5c0ec98dcbd872e /etc
parent2c149f93b425ffbb2de02e9b41e1aa98ae40e0e7 (diff)
downloademacs-708e05f6d1b39313a63e34a5b4e1a16ae809ae25.tar.gz
emacs-708e05f6d1b39313a63e34a5b4e1a16ae809ae25.zip
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.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index d92c9cdec1b..a2ef1c4fdd0 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -103,6 +103,9 @@ Available only on X, this option allows to control over-scrolling
103using the scroll bar (i.e. dragging the thumb down even when the end 103using the scroll bar (i.e. dragging the thumb down even when the end
104of the buffer is visible). 104of the buffer is visible).
105 105
106** New function `add-face-text-property' has been added, which can be
107used to conveniently prepend/append new face attributes to text.
108
106** In compiled Lisp files, the header no longer includes a timestamp. 109** In compiled Lisp files, the header no longer includes a timestamp.
107 110
108** Multi-monitor support has been added. 111** Multi-monitor support has been added.