Mercurial > emacs
comparison lisp/image.el @ 34378:5ae7af279df7
(create-image): Doc fix; spotted by Per Cederqvist <ceder@lysator.liu.se>.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 08 Dec 2000 17:06:46 +0000 |
parents | e3be69cf6c81 |
children | b7bd53c4820a |
comparison
equal
deleted
inserted
replaced
34377:d083796e5aef | 34378:5ae7af279df7 |
---|---|
86 "Create an image. | 86 "Create an image. |
87 FILE-OR-DATA is an image file name or image data. | 87 FILE-OR-DATA is an image file name or image data. |
88 Optional TYPE is a symbol describing the image type. If TYPE is omitted | 88 Optional TYPE is a symbol describing the image type. If TYPE is omitted |
89 or nil, try to determine the image type from its first few bytes | 89 or nil, try to determine the image type from its first few bytes |
90 of image data. If that doesn't work, and FILE-OR-DATA is a file name, | 90 of image data. If that doesn't work, and FILE-OR-DATA is a file name, |
91 use its file extension.as image type. | 91 use its file extension as image type. |
92 Optional DATA-P non-nil means FILE-OR-DATA is a string containing image data. | 92 Optional DATA-P non-nil means FILE-OR-DATA is a string containing image data. |
93 Optional PROPS are additional image attributes to assign to the image, | 93 Optional PROPS are additional image attributes to assign to the image, |
94 like, e.g. `:mask MASK'. | 94 like, e.g. `:mask MASK'. |
95 Value is the image created, or nil if images of type TYPE are not supported." | 95 Value is the image created, or nil if images of type TYPE are not supported." |
96 (when (and (not data-p) (not (stringp file-or-data))) | 96 (when (and (not data-p) (not (stringp file-or-data))) |