]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/doc.c (Fsubstitute_command_keys): Another fix for smart quotes.
authorEli Zaretskii <eliz@gnu.org>
Tue, 16 Aug 2016 18:33:09 +0000 (21:33 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 16 Aug 2016 18:33:09 +0000 (21:33 +0300)
(Bug#24206)

src/doc.c

index 86e1e0d40875b6703e7734761aae7406a0b804ee..36d18b99b05c78d1145b939c6808edcf76fd03a1 100644 (file)
--- 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;