image-type-from-file-name fix for bug#9045
authorGlenn Morris <rgm@gnu.org>
Tue, 23 Oct 2012 00:46:11 +0000 (20:46 -0400)
committerGlenn Morris <rgm@gnu.org>
Tue, 23 Oct 2012 00:46:11 +0000 (20:46 -0400)
commitea1d4aaca0a593c99673912cee3ea910a958d38c
treeefadb758b3d03faa47349ec3512a44bd82f2eb0a
parentf961c7d82bb50cea1e6425042c79c26d23dbc2f1
image-type-from-file-name fix for bug#9045

* lisp/image.el (image-type-from-file-name): If multiple types match,
return the first one that is supported.
lisp/ChangeLog
lisp/image.el