diff options
| author | Glenn Morris <rgm@gnu.org> | 2015-06-18 19:15:05 -0400 |
|---|---|---|
| committer | Glenn Morris <rgm@gnu.org> | 2015-06-18 19:15:05 -0400 |
| commit | d213cf0400ee5cad2e7f4626745fd97b942ff5e9 (patch) | |
| tree | e73df1cd6d1771cd473f2a5f247bac5bad19a999 /src/doc.c | |
| parent | 52c3946c872c8bd96508f74cdda5cbb90c664306 (diff) | |
| download | emacs-d213cf0400ee5cad2e7f4626745fd97b942ff5e9.tar.gz | |
* src/doc.c (Fsubstitute_command_keys): Make previous change compile.
Diffstat (limited to 'src/doc.c')
| -rw-r--r-- | src/doc.c | 6 |
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 */ |
