From fcd599bbeaac84113379dedbff4e59910e10e171 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 19 Sep 2020 11:30:57 +0300 Subject: [PATCH] Minor copyedits of doc of 'with-silent-modifications' * doc/lispref/text.texi (Changing Properties): * doc/lispref/buffers.texi (Buffer Modification): Improve documentation and indexing of 'with-silent-modifications'. --- doc/lispref/buffers.texi | 4 ++-- doc/lispref/text.texi | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/lispref/buffers.texi b/doc/lispref/buffers.texi index 33528fc7fec..28603436284 100644 --- a/doc/lispref/buffers.texi +++ b/doc/lispref/buffers.texi @@ -596,8 +596,8 @@ and features that react to buffer modifications, use the Execute @var{body} pretending it does not modify the buffer. This includes checking whether the buffer's file is locked (@pxref{File Locks}), running buffer modification hooks (@pxref{Change Hooks}), -etc. Note that if @var{body} actually modifies the buffer text, its -undo data may become corrupted. +etc. Note that if @var{body} actually modifies the buffer text (as +opposed to its text properties), its undo data may become corrupted. @end defmac @node Modification Time diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index 5d83e7bd6cc..c4e92bdcedb 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi @@ -3069,7 +3069,7 @@ 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 +@findex with-silent-modifications, and changes in text properties If you wish to add text properties to a buffer or remove them without marking the buffer as modified, you can wrap the calls above in the @code{with-silent-modifications} macro. @xref{Buffer -- 2.39.2