Subject: bug#20385: [PATCH] Support curved quotes in doc strings

From: Dmitry Gutov <[email-masked]>
Date: Thu, 21 May 2015 13:01:04 +0300

On 05/21/2015 10:21 AM, Paul Eggert wrote:

> And I found a
> reasonably simple way to put it in, namely, to modify
> substitute-command-keys so that it substitutes quotes as well, with a
> simple rule that can be done in one pass with only auxiliary boolean flag.

I'd make it a new function (the name doesn't fit), and pass the 
docstring contents through it, before giving them to 
substitute-command-keys.

And if you write it in Lisp, you could incorporate the special handling 
of quasiquotes relatively easily.