From: Glenn Morris Date: Thu, 18 Jun 2015 23:15:05 +0000 (-0400) Subject: * src/doc.c (Fsubstitute_command_keys): Make previous change compile. X-Git-Tag: emacs-25.0.90~1706 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d213cf0400ee5cad2e7f4626745fd97b942ff5e9;p=emacs.git * src/doc.c (Fsubstitute_command_keys): Make previous change compile. --- diff --git a/src/doc.c b/src/doc.c index 6794ec777ae..81b1354668f 100644 --- a/src/doc.c +++ b/src/doc.c @@ -932,7 +932,7 @@ Otherwise, return a new string. */) strp = SDATA (string) + idx; } } - else if ((Vhelp_quote_translation == Qprefer_unicode) + else if (EQ (Vhelp_quote_translation, Qprefer_unicode) && (strp[0] == '`')) { in_quote = true; @@ -943,7 +943,7 @@ Otherwise, return a new string. */) idx = strp - SDATA (string) + 1; goto subst; } - else if ((Vhelp_quote_translation == Qprefer_unicode) + else if (EQ (Vhelp_quote_translation, Qprefer_unicode) && (strp[0] == '\'' && in_quote)) { in_quote = false; @@ -951,7 +951,7 @@ Otherwise, return a new string. */) goto subst_quote; } - else if ((Vhelp_quote_translation == Qtraditional) + else if (EQ (Vhelp_quote_translation, Qtraditional) && (strp[0] == 0xE2) && (strp[1] == 0x80) && ((strp[2] == 0x98) /* curly opening quote */