[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-27 fcd599b: Minor copyedits of doc of 'with-silent-modifications'
From: |
Eli Zaretskii |
Subject: |
emacs-27 fcd599b: Minor copyedits of doc of 'with-silent-modifications' |
Date: |
Sat, 19 Sep 2020 04:31:37 -0400 (EDT) |
branch: emacs-27
commit fcd599bbeaac84113379dedbff4e59910e10e171
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
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 33528fc..2860343 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 5d83e7b..c4e92bd 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-27 fcd599b: Minor copyedits of doc of 'with-silent-modifications',
Eli Zaretskii <=