From d213cf0400ee5cad2e7f4626745fd97b942ff5e9 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 18 Jun 2015 19:15:05 -0400 Subject: [PATCH] * src/doc.c (Fsubstitute_command_keys): Make previous change compile. --- src/doc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 */ -- 2.39.2