Subject: bug#17052: substitute-command-keys strips text properties

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 14 Aug 2019 17:55:28 -0700

Juanma Barranquero <[email-masked]> writes:

> Currently, substitute-command-keys returns a string with text
> properties stripped. This should be fixed.
>
> One specific case where it matters is in docstrings of advised
> functions, as discussed in the thread for bug#16993.

(I'm going through old bug reports that have unfortunately gotten no
responses yet.)

Looks like this has been fixed sometime in the intervening years?

(substitute-command-keys (propertize "foo" 'face 'bold))
=> #("foo" 0 3 (face bold))

So I'm closing this bug report.  If this is still a problem, please
reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no