]> git.eshelyaron.com Git - emacs.git/commit
Clean up image error reporting somewhat
authorStefan Kangas <stefankangas@gmail.com>
Sat, 26 Aug 2023 12:38:36 +0000 (14:38 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Sat, 26 Aug 2023 12:39:38 +0000 (14:39 +0200)
commitd8b528c896778305313dcafb0a4be967935747c8
tree906aac865a7572aa083c42e6cdc0455f9ace75f6
parent0cab62035d273024d6052c6ba73993f3f85e9c7e
Clean up image error reporting somewhat

* src/image.c (image_not_found_error, image_invalid_data_error):
New functions.  All uses of image_error with "Invalid image data ..."
and "Cannot find image file ..." changed to use them.
(image_create_x_image_and_pixmap_1): Remove redundant Qnil arguments.
src/image.c