diff options
| author | Lars Ingebrigtsen | 2019-08-16 00:04:13 -0700 |
|---|---|---|
| committer | Lars Ingebrigtsen | 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.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
| @@ -721,7 +721,7 @@ into the output, \\=\\=\\=\\[ puts \\=\\[ into the output, and \\=\\=\\=` puts \ | |||
| 721 | output. | 721 | output. |
| 722 | 722 | ||
| 723 | Return the original STRING if no substitutions are made. | 723 | Return the original STRING if no substitutions are made. |
| 724 | Otherwise, return a new string. */) | 724 | Otherwise, return a new string (without any text properties). */) |
| 725 | (Lisp_Object string) | 725 | (Lisp_Object string) |
| 726 | { | 726 | { |
| 727 | char *buf; | 727 | char *buf; |
| @@ -984,7 +984,7 @@ Otherwise, return a new string. */) | |||
| 984 | { | 984 | { |
| 985 | /* Nothing has changed other than quoting, so copy the string’s | 985 | /* Nothing has changed other than quoting, so copy the string’s |
| 986 | text properties. FIXME: Text properties should survive other | 986 | text properties. FIXME: Text properties should survive other |
| 987 | changes too. */ | 987 | changes too; see bug#17052. */ |
| 988 | INTERVAL interval_copy = copy_intervals (string_intervals (string), | 988 | INTERVAL interval_copy = copy_intervals (string_intervals (string), |
| 989 | 0, SCHARS (string)); | 989 | 0, SCHARS (string)); |
| 990 | if (interval_copy) | 990 | if (interval_copy) |