image-type-from-file-name: Perform a case insensitive match
commit2db3307e8a966a8f652a210d8f8eb83daddd7d9f
authorTino Calancha <tino.calancha@gmail.com>
Sun, 4 Sep 2016 02:09:31 +0000 (4 11:09 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Sun, 4 Sep 2016 02:09:31 +0000 (4 11:09 +0900)
tree053f5bbe8b3be9c893b3267e519fd9cc91fe0191
parent7c16c89c5772a1777e4d73ebc5ea2a3ff8344c22
image-type-from-file-name: Perform a case insensitive match

Fix Bug#24317
* lisp/image.el (image-type-from-file-name): Bind case-fold-search
to a non-nil value to force a case insensitive match.
* lisp/image-dired.el (image-dired-rotate-original):
Use image-type (Bug#24317).
(image-dired-get-exif-file-name): Idem.
Set 'no-exif-data-found' and 'data' in same setq call.
Use file-attribute-modification-time.
lisp/image-dired.el
lisp/image.el