From: Eli Zaretskii Date: Tue, 16 Aug 2016 18:33:09 +0000 (+0300) Subject: * src/doc.c (Fsubstitute_command_keys): Another fix for smart quotes. X-Git-Tag: emacs-25.1-rc2~9 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7d639f3;p=emacs.git * src/doc.c (Fsubstitute_command_keys): Another fix for smart quotes. (Bug#24206) --- diff --git a/src/doc.c b/src/doc.c index 86e1e0d4087..36d18b99b05 100644 --- a/src/doc.c +++ b/src/doc.c @@ -974,7 +974,7 @@ Otherwise, return a new string. */) } else if ((strp[0] == '`' || strp[0] == '\'') && quoting_style == CURVE_QUOTING_STYLE - && multibyte) + && (multibyte || pure_ascii)) { start = (unsigned char const *) (strp[0] == '`' ? uLSQM : uRSQM); length_byte = sizeof uLSQM - 1;