emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 405f851: Mention that text properties are removed i


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 405f851: Mention that text properties are removed in substitute-command-keys
Date: Fri, 16 Aug 2019 03:04:19 -0400 (EDT)

branch: master
commit 405f851f4bf64e2290e841b65ffabf37c61187f4
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Mention that text properties are removed in substitute-command-keys
    
    * src/doc.c (Fsubstitute_command_keys): Restore the bit in the doc
    string that mentions that text properties is removed (bug#17052).
---
 src/doc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/doc.c b/src/doc.c
index 8b663f0..247be79 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -721,7 +721,7 @@ into the output, \\=\\=\\=\\[ puts \\=\\[ into the output, 
and \\=\\=\\=` puts \
 output.
 
 Return the original STRING if no substitutions are made.
-Otherwise, return a new string.  */)
+Otherwise, return a new string (without any text properties).  */)
   (Lisp_Object string)
 {
   char *buf;
@@ -984,7 +984,7 @@ Otherwise, return a new string.  */)
        {
          /* Nothing has changed other than quoting, so copy the string’s
             text properties.  FIXME: Text properties should survive other
-            changes too.  */
+            changes too; see bug#17052.  */
          INTERVAL interval_copy = copy_intervals (string_intervals (string),
                                                   0, SCHARS (string));
          if (interval_copy)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]