aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2016-04-30 23:40:42 +0200
committerLars Ingebrigtsen2016-05-01 19:27:16 +0200
commit6b39501612ac2e932a6f62ca558659007c9b3daa (patch)
treed320b9a1727248a38b05dfbaf5f19bdc4a7d3b2f
parent9722ae18c3aa7243185fb005241f337712ac0ac5 (diff)
downloademacs-6b39501612ac2e932a6f62ca558659007c9b3daa.tar.gz
emacs-6b39501612ac2e932a6f62ca558659007c9b3daa.zip
Mention with-silent-modifications in the lispref manual
* doc/lispref/text.texi (Changing Properties): Document with-silent-modifications (bug#21171). (cherry picked from commit fcd0d854eef6e439d51e8f07cf734d5e34e502b3)
-rw-r--r--doc/lispref/text.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index ab55c2037d7..96f109b7561 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -2963,6 +2963,11 @@ construct each part with @code{propertize} and then combine them with
2963@code{buffer-substring-no-properties}, which copies text from the 2963@code{buffer-substring-no-properties}, which copies text from the
2964buffer but does not copy its properties. 2964buffer but does not copy its properties.
2965 2965
2966@findex with-silent-modifications
2967 If you wish to add or remove text properties to a buffer without
2968marking the buffer as modified, you can wrap the calls above in the
2969@code{with-silent-modifications} macro.
2970
2966@node Property Search 2971@node Property Search
2967@subsection Text Property Search Functions 2972@subsection Text Property Search Functions
2968@cindex searching text properties 2973@cindex searching text properties