diff options
| author | Lars Ingebrigtsen | 2016-04-30 23:40:42 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-04-30 23:40:42 +0200 |
| commit | fcd0d854eef6e439d51e8f07cf734d5e34e502b3 (patch) | |
| tree | 507d9799ed37b762d520bf1c67a76b2800a205f3 /doc | |
| parent | e0e70f030e69d9696a963a86f5f7caaff4df06eb (diff) | |
| download | emacs-fcd0d854eef6e439d51e8f07cf734d5e34e502b3.tar.gz emacs-fcd0d854eef6e439d51e8f07cf734d5e34e502b3.zip | |
Mention with-silent-modifications in the lispref manual
* doc/lispref/text.texi (Changing Properties): Document
with-silent-modifications (bug#21171).
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/text.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index 0323678b8f2..0b7759347fc 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi | |||
| @@ -3040,6 +3040,11 @@ construct each part with @code{propertize} and then combine them with | |||
| 3040 | @code{buffer-substring-no-properties}, which copies text from the | 3040 | @code{buffer-substring-no-properties}, which copies text from the |
| 3041 | buffer but does not copy its properties. | 3041 | buffer but does not copy its properties. |
| 3042 | 3042 | ||
| 3043 | @findex with-silent-modifications | ||
| 3044 | If you wish to add or remove text properties to a buffer without | ||
| 3045 | marking the buffer as modified, you can wrap the calls above in the | ||
| 3046 | @code{with-silent-modifications} macro. | ||
| 3047 | |||
| 3043 | @node Property Search | 3048 | @node Property Search |
| 3044 | @subsection Text Property Search Functions | 3049 | @subsection Text Property Search Functions |
| 3045 | @cindex searching text properties | 3050 | @cindex searching text properties |