(image-jpeg-p): Don't fail if the arg cannot be converted to unibyte.
authorJuanma Barranquero <lekktu@gmail.com>
Fri, 27 Jun 2008 15:58:36 +0000 (15:58 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Fri, 27 Jun 2008 15:58:36 +0000 (15:58 +0000)
commit24c23999e1d5352664cbb4d4a8e927efb1ec43b1
treeadc182462e3f364f4475acb826c980b9abc3c983
parent9fa1c445a9aa2648d0d87afa1dbf469b2068dc8d
(image-jpeg-p): Don't fail if the arg cannot be converted to unibyte.
Just assume it is not a JPEG.  Use `string-match-p'.
(image-type-from-data, image-type-from-file-name): Use `string-match-p'.
(image-type-from-buffer): Use `looking-at-p'.
lisp/ChangeLog
lisp/image.el