summaryrefslogtreecommitdiff
path: root/doc/lispref/text.texi
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-12-16 21:21:33 +0200
committerEli Zaretskii <eliz@gnu.org>2023-12-16 21:21:33 +0200
commitf68f3500236bb18b92e4b1a2c0c1b4ede528046e (patch)
treeef499ca67a0b8eff110e245be6eaf7045780eb81 /doc/lispref/text.texi
parent06c399914fa868474938c2d00dae96f228e70fbf (diff)
downloademacs-f68f3500236bb18b92e4b1a2c0c1b4ede528046e.tar.gz
emacs-f68f3500236bb18b92e4b1a2c0c1b4ede528046e.tar.bz2
emacs-f68f3500236bb18b92e4b1a2c0c1b4ede528046e.zip
Improve documentation of text properties handling when yanking
* doc/lispref/text.texi (Text Properties): Mention special handling of text properties while yanking.
Diffstat (limited to 'doc/lispref/text.texi')
-rw-r--r--doc/lispref/text.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index 8fa2100ba11..9759d46ee69 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -2945,7 +2945,10 @@ character.
Copying text between strings and buffers preserves the properties
along with the characters; this includes such diverse functions as
-@code{substring}, @code{insert}, and @code{buffer-substring}.
+@code{substring}, @code{insert}, and @code{buffer-substring}. Killing
+and then yanking text (@pxref{The Kill Ring}) also preserves the
+properties, except that some properties are handled specially and
+might be removed when text is yanked; @pxref{Yanking}.
@menu
* Examining Properties:: Looking at the properties of one character.