summaryrefslogtreecommitdiff
path: root/src/doc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc.c')
-rw-r--r--src/doc.c6
1 files 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 */