diff options
| author | Paul Eggert | 2015-06-25 07:21:20 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-06-25 07:22:07 -0700 |
| commit | ee80c1170916aae1bca62df5ca086fcc13486de1 (patch) | |
| tree | 802eb2b104466271a198d6763036ea65cf8a21a4 /src/doc.c | |
| parent | 67dbc32afd8af2eaca9fdba9f17680cdcecb178f (diff) | |
| download | emacs-ee80c1170916aae1bca62df5ca086fcc13486de1.tar.gz emacs-ee80c1170916aae1bca62df5ca086fcc13486de1.zip | |
Translate undisplayable ‘ to `
* doc/lispref/help.texi (Keys in Documentation):
* lisp/international/mule-cmds.el (set-locale-environment):
* lisp/term/w32console.el (terminal-init-w32console):
* src/doc.c (Fsubstitute_command_keys, Vhelp_quote_translation):
If ‘ is not displayable, transliterate it to `, not to '. See:
http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00542.html
Diffstat (limited to 'src/doc.c')
| -rw-r--r-- | src/doc.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -761,8 +761,8 @@ Otherwise, return a new string. */) | |||
| 761 | Lisp_Object dv = DISP_CHAR_VECTOR (XCHAR_TABLE (Vstandard_display_table), | 761 | Lisp_Object dv = DISP_CHAR_VECTOR (XCHAR_TABLE (Vstandard_display_table), |
| 762 | LEFT_SINGLE_QUOTATION_MARK); | 762 | LEFT_SINGLE_QUOTATION_MARK); |
| 763 | if (VECTORP (dv) && ASIZE (dv) == 1 | 763 | if (VECTORP (dv) && ASIZE (dv) == 1 |
| 764 | && EQ (AREF (dv, 0), make_number ('\''))) | 764 | && EQ (AREF (dv, 0), make_number ('`'))) |
| 765 | quote_translation = apostrophe; | 765 | quote_translation = grave_accent; |
| 766 | } | 766 | } |
| 767 | 767 | ||
| 768 | multibyte = STRING_MULTIBYTE (string); | 768 | multibyte = STRING_MULTIBYTE (string); |
| @@ -1040,7 +1040,7 @@ Quote \\=‘like this\\=’ if the value is ?\\=‘ (left single quotation mark) | |||
| 1040 | Quote 'like this' if the value is ?' (apostrophe). | 1040 | Quote 'like this' if the value is ?' (apostrophe). |
| 1041 | Quote \\=`like this' if the value is ?\\=` (grave accent). | 1041 | Quote \\=`like this' if the value is ?\\=` (grave accent). |
| 1042 | The default value is nil, which means quote with left single quotation mark | 1042 | The default value is nil, which means quote with left single quotation mark |
| 1043 | if displayable, and with apostrophe otherwise. */); | 1043 | if displayable, and with grave accent otherwise. */); |
| 1044 | Vhelp_quote_translation = Qnil; | 1044 | Vhelp_quote_translation = Qnil; |
| 1045 | 1045 | ||
| 1046 | defsubr (&Sdocumentation); | 1046 | defsubr (&Sdocumentation); |