diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-08-16 00:04:13 -0700 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-08-16 00:04:13 -0700 |
commit | 405f851f4bf64e2290e841b65ffabf37c61187f4 (patch) | |
tree | e508a83d781a6a7b2a74a191f07655d7335664cc /src/doc.c | |
parent | d1d738c8264b3e756259e3ba2112ff96b8ecf829 (diff) | |
download | emacs-405f851f4bf64e2290e841b65ffabf37c61187f4.tar.gz emacs-405f851f4bf64e2290e841b65ffabf37c61187f4.tar.bz2 emacs-405f851f4bf64e2290e841b65ffabf37c61187f4.zip |
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).
Diffstat (limited to 'src/doc.c')
-rw-r--r-- | src/doc.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |