diff options
| author | Lars Ingebrigtsen | 2016-04-30 23:40:42 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-05-01 19:27:16 +0200 |
| commit | 6b39501612ac2e932a6f62ca558659007c9b3daa (patch) | |
| tree | d320b9a1727248a38b05dfbaf5f19bdc4a7d3b2f | |
| parent | 9722ae18c3aa7243185fb005241f337712ac0ac5 (diff) | |
| download | emacs-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.texi | 5 |
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 |
| 2964 | buffer but does not copy its properties. | 2964 | buffer 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 | ||
| 2968 | marking 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 |