From: Lars Ingebrigtsen Date: Fri, 16 Aug 2019 07:04:13 +0000 (-0700) Subject: Mention that text properties are removed in substitute-command-keys X-Git-Tag: emacs-27.0.90~1597 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=405f851f4bf64e2290e841b65ffabf37c61187f4;p=emacs.git 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). --- diff --git a/src/doc.c b/src/doc.c index 8b663f0f249..247be79adaf 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)