Commit d213cf04 authored by Glenn Morris's avatar Glenn Morris
Browse files

* src/doc.c (Fsubstitute_command_keys): Make previous change compile.

parent 52c3946c
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment