Mention with-silent-modifications in the lispref manual
* doc/lispref/text.texi (Changing Properties): Document
with-silent-modifications (bug#21171).
(cherry picked from commit fcd0d854ee
)
This commit is contained in:
parent
9722ae18c3
commit
6b39501612
1 changed files with 5 additions and 0 deletions
|
@ -2963,6 +2963,11 @@ construct each part with @code{propertize} and then combine them with
|
|||
@code{buffer-substring-no-properties}, which copies text from the
|
||||
buffer but does not copy its properties.
|
||||
|
||||
@findex with-silent-modifications
|
||||
If you wish to add or remove text properties to a buffer without
|
||||
marking the buffer as modified, you can wrap the calls above in the
|
||||
@code{with-silent-modifications} macro.
|
||||
|
||||
@node Property Search
|
||||
@subsection Text Property Search Functions
|
||||
@cindex searching text properties
|
||||
|
|
Loading…
Add table
Reference in a new issue