diff options
| author | Paul Eggert | 2015-08-18 23:04:58 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-08-18 23:14:08 -0700 |
| commit | 87fbe1a6cb6d212c69546bd10864288fcf034cc1 (patch) | |
| tree | bfb6defd964894b8f8077cdaa245fe8e6da86d7e /src/syntax.c | |
| parent | 67de1b6fa752df913ae00537234d1a18bca2543f (diff) | |
| download | emacs-87fbe1a6cb6d212c69546bd10864288fcf034cc1.tar.gz emacs-87fbe1a6cb6d212c69546bd10864288fcf034cc1.zip | |
Use new q ‘format’ flag when fixing quotes in C
* src/image.c (image_size_error): New function. All uses of
image_error with "Invalid image size ..." changed to use it.
* src/image.c (image_size_error, xbm_load_image, xbm_load)
(xpm_load, xpm_load_image, xpm_load, pbm_load, png_load_body)
(jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
(imagemagick_load, svg_load, svg_load_image, gs_load)
(x_kill_gs_process):
* src/lread.c (load_warn_old_style_backquotes):
* src/xfaces.c (load_pixmap):
* src/xselect.c (x_clipboard_manager_error_1):
Use %qs, not uLSQM and uRSQM.
* src/syntax.c (Finternal_describe_syntax_value):
Prefer Fsubstitute_command_keys to Fformat, as this lets
us use AUTO_STRING.
* src/xdisp.c (vadd_to_log): Use AUTO_STRING on the format argument,
as it's now guaranteed to be ASCII.
* src/xselect.c (x_clipboard_manager_error_2):
Avoid grave accent in low-level stderr diagnostic.
Diffstat (limited to 'src/syntax.c')
| -rw-r--r-- | src/syntax.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/syntax.c b/src/syntax.c index d543a5f9823..30560affdf0 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -1333,10 +1333,11 @@ DEFUN ("internal-describe-syntax-value", Finternal_describe_syntax_value, | |||
| 1333 | insert_string (" (nestable)"); | 1333 | insert_string (" (nestable)"); |
| 1334 | 1334 | ||
| 1335 | if (prefix) | 1335 | if (prefix) |
| 1336 | insert1 (CALLN (Fformat, | 1336 | { |
| 1337 | (build_string | 1337 | AUTO_STRING (prefixdoc, |
| 1338 | (",\n\t is a prefix character for " | 1338 | ",\n\t is a prefix character for `backward-prefix-chars'"); |
| 1339 | uLSQM"backward-prefix-chars"uRSQM)))); | 1339 | insert1 (Fsubstitute_command_keys (prefixdoc)); |
| 1340 | } | ||
| 1340 | 1341 | ||
| 1341 | return syntax; | 1342 | return syntax; |
| 1342 | } | 1343 | } |