From: Eli Zaretskii Date: Sat, 19 Sep 2020 08:30:57 +0000 (+0300) Subject: Minor copyedits of doc of 'with-silent-modifications' X-Git-Tag: emacs-27.1.90~148 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fcd599bbeaac84113379dedbff4e59910e10e171;p=emacs.git 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'. --- 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