From 3642f3787279c05288f4f0d295fd9238f206ed15 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 20 Jun 2022 15:42:48 +0300 Subject: [PATCH] ; * lisp/image.el (find-image): Fix typos. --- lisp/image.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/image.el b/lisp/image.el index 24d1c2d1698..8c5cfa7c0ba 100644 --- a/lisp/image.el +++ b/lisp/image.el @@ -764,13 +764,13 @@ SPECS is a list of image specifications. Each image specification in SPECS is a property list. The contents of a specification are image type dependent. All specifications must at -least contain the either the property `:file FILE' or `:data DATA', +least contain either the property `:file FILE' or `:data DATA', where FILE is the file to load the image from, and DATA is a string containing the actual image data. If the property `:type TYPE' is omitted or nil, try to determine the image type from its first few -bytes of image data. If that doesn’t work, and the property `:file -FILE' provide a file name, use its file extension as image type. If -the property `:type TYPE' is provided, it must match the actual type +bytes of image data. If that doesn't work, and the property `:file +FILE' provide a file name, use its file extension as image type. +If `:type TYPE' is provided, it must match the actual type determined for FILE or DATA by `create-image'. Return nil if no specification is satisfied. -- 2.39.2