diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2015-08-13 13:48:28 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2015-08-13 13:48:58 -0700 |
commit | fbee6265a72a4129d2efbf15a622b13e8b4aae9f (patch) | |
tree | 0c1e1e9724c323def043965a236bc021225a9cbd /src/nsimage.m | |
parent | b532875a6021cd1715321dda932b187522840944 (diff) | |
download | emacs-fbee6265a72a4129d2efbf15a622b13e8b4aae9f.tar.gz |
Make add_to_log varargs
* src/alloc.c (run_finalizer_handler):
* src/charset.c (load_charset_map_from_vector):
* src/nsimage.m (ns_load_image):
* src/xfaces.c (load_pixmap, load_color2):
Simplify, now that add_to_log has a variable number of args.
* src/image.c (image_error): Take a variable number of args.
Callers simplified.
* src/lisp.h (add_to_log, vadd_to_log): Adjust to new APIs.
* src/xdisp.c (format_nargs, vadd_to_log): New functions.
(add_to_log): Make varargs, and reimplement in terms of vadd_to_log.
* src/xfaces.c (merge_face_ref): Fix typo that omitted color name.
Diffstat (limited to 'src/nsimage.m')
-rw-r--r-- | src/nsimage.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsimage.m b/src/nsimage.m index 9302cd2f212..13e8504f460 100644 --- a/src/nsimage.m +++ b/src/nsimage.m @@ -102,7 +102,7 @@ ns_load_image (struct frame *f, struct image *img, if (eImg == nil) { - add_to_log ("Unable to load image %s", img->spec, Qnil); + add_to_log ("Unable to load image %s", img->spec); return 0; } |