1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-10 13:40:36 -08:00

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).
This commit is contained in:
Lars Ingebrigtsen 2019-08-16 00:04:13 -07:00
parent d1d738c826
commit 405f851f4b

View file

@ -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 strings
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)