diff options
| author | Paul Eggert | 2015-08-09 16:21:05 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-08-09 16:23:06 -0700 |
| commit | 6a45e72052498e082f7f67345daaff5596cbd812 (patch) | |
| tree | a3a9c0adfb27c3616cbaa44642996b5181d0b5ed /src/doc.c | |
| parent | e8b9b8c063df241707143623f4a0e2d37cb2d18b (diff) | |
| download | emacs-6a45e72052498e082f7f67345daaff5596cbd812.tar.gz emacs-6a45e72052498e082f7f67345daaff5596cbd812.zip | |
Fix some minor quoting issues with grave accent
* src/dispnew.c (add_window_display_history) [GLYPH_DEBUG]:
Remove redundant quotes.
* src/doc.c (uLSQM, uRSQM): New macros.
* src/doc.c (Fsubstitute_command_keys):
* src/syntax.c (Finternal_describe_syntax_value): Follow the user
preference for quotes rather than hardcoding the ‘grave’ style.
* src/regex.c (PUSH_FAILURE_POINT, POP_FAILURE_POINT)
(re_match_2_internal) [DEBUG]: In debugging output, quote C
strings with "...", not `...'.
Diffstat (limited to 'src/doc.c')
| -rw-r--r-- | src/doc.c | 9 |
1 files changed, 7 insertions, 2 deletions
| @@ -695,6 +695,8 @@ enum | |||
| 695 | }; | 695 | }; |
| 696 | static unsigned char const LSQM[] = { uLSQM0, uLSQM1, uLSQM2 }; | 696 | static unsigned char const LSQM[] = { uLSQM0, uLSQM1, uLSQM2 }; |
| 697 | static unsigned char const RSQM[] = { uRSQM0, uRSQM1, uRSQM2 }; | 697 | static unsigned char const RSQM[] = { uRSQM0, uRSQM1, uRSQM2 }; |
| 698 | #define uLSQM "\xE2\x80\x98" | ||
| 699 | #define uRSQM "\xE2\x80\x99" | ||
| 698 | 700 | ||
| 699 | DEFUN ("substitute-command-keys", Fsubstitute_command_keys, | 701 | DEFUN ("substitute-command-keys", Fsubstitute_command_keys, |
| 700 | Ssubstitute_command_keys, 1, 1, 0, | 702 | Ssubstitute_command_keys, 1, 1, 0, |
| @@ -921,11 +923,14 @@ Otherwise, return a new string. */) | |||
| 921 | if (NILP (tem)) | 923 | if (NILP (tem)) |
| 922 | { | 924 | { |
| 923 | name = Fsymbol_name (name); | 925 | name = Fsymbol_name (name); |
| 924 | insert_string ("\nUses keymap `"); | 926 | insert1 (Fsubstitute_command_keys |
| 927 | (build_string ("\nUses keymap "uLSQM))); | ||
| 925 | insert_from_string (name, 0, 0, | 928 | insert_from_string (name, 0, 0, |
| 926 | SCHARS (name), | 929 | SCHARS (name), |
| 927 | SBYTES (name), 1); | 930 | SBYTES (name), 1); |
| 928 | insert_string ("', which is not currently defined.\n"); | 931 | insert1 (Fsubstitute_command_keys |
| 932 | (build_string | ||
| 933 | (uRSQM", which is not currently defined.\n"))); | ||
| 929 | if (start[-1] == '<') keymap = Qnil; | 934 | if (start[-1] == '<') keymap = Qnil; |
| 930 | } | 935 | } |
| 931 | else if (start[-1] == '<') | 936 | else if (start[-1] == '<') |