]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve documentation of text properties handling when yanking
authorEli Zaretskii <eliz@gnu.org>
Sat, 16 Dec 2023 19:21:33 +0000 (21:21 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 23 Dec 2023 13:16:21 +0000 (14:16 +0100)
* doc/lispref/text.texi (Text Properties): Mention special
handling of text properties while yanking.

(cherry picked from commit f68f3500236bb18b92e4b1a2c0c1b4ede528046e)

doc/lispref/text.texi

index 300069da85c6564e7e8851c685a0ab570b167423..95b83a7055d5343a5653ced9c22117483e40d932 100644 (file)
@@ -2948,7 +2948,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.