aboutsummaryrefslogtreecommitdiffstats
path: root/src/lread.c
diff options
context:
space:
mode:
authorPaul Eggert2015-08-18 23:04:58 -0700
committerPaul Eggert2015-08-18 23:14:08 -0700
commit87fbe1a6cb6d212c69546bd10864288fcf034cc1 (patch)
treebfb6defd964894b8f8077cdaa245fe8e6da86d7e /src/lread.c
parent67de1b6fa752df913ae00537234d1a18bca2543f (diff)
downloademacs-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/lread.c')
-rw-r--r--src/lread.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lread.c b/src/lread.c
index 77a62118a39..c342218c532 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -947,8 +947,7 @@ load_warn_old_style_backquotes (Lisp_Object file)
947{ 947{
948 if (!NILP (Vold_style_backquotes)) 948 if (!NILP (Vold_style_backquotes))
949 { 949 {
950 Lisp_Object format = build_string ("Loading "uLSQM"%s"uRSQM 950 AUTO_STRING (format, "Loading %qs: old-style backquotes detected!");
951 ": old-style backquotes detected!");
952 CALLN (Fmessage, format, file); 951 CALLN (Fmessage, format, file);
953 } 952 }
954} 953}