diff options
| author | Lars Magne Ingebrigtsen | 2013-06-17 17:28:22 +0200 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2013-06-17 17:28:22 +0200 |
| commit | 708e05f6d1b39313a63e34a5b4e1a16ae809ae25 (patch) | |
| tree | 406e73905374997269b8d123e5c0ec98dcbd872e /etc | |
| parent | 2c149f93b425ffbb2de02e9b41e1aa98ae40e0e7 (diff) | |
| download | emacs-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -103,6 +103,9 @@ Available only on X, this option allows to control over-scrolling | |||
| 103 | using the scroll bar (i.e. dragging the thumb down even when the end | 103 | using the scroll bar (i.e. dragging the thumb down even when the end |
| 104 | of the buffer is visible). | 104 | of the buffer is visible). |
| 105 | 105 | ||
| 106 | ** New function `add-face-text-property' has been added, which can be | ||
| 107 | used 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. |