]> 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)
committerEli Zaretskii <eliz@gnu.org>
Sat, 16 Dec 2023 19:21:33 +0000 (21:21 +0200)
* doc/lispref/text.texi (Text Properties): Mention special
handling of text properties while yanking.

doc/lispref/text.texi

index 8fa2100ba11f3b9c03f3a3356f75087418acae94..9759d46ee69325cae35c4ea48e1814be21a570bc 100644 (file)
@@ -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.