Mercurial > emacs
changeset 104690:d3d94e331386
(image-type-header-regexps): Use only JPEG magic number
to determine JPEG images, and don't use `image-jpeg-p' because
Emacs can display non-JFIF non-Exif JPEG images.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Fri, 28 Aug 2009 23:49:11 +0000 |
parents | 09131c4d5568 |
children | 669c6df8c8b9 |
files | lisp/image.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/image.el Fri Aug 28 23:48:46 2009 +0000 +++ b/lisp/image.el Fri Aug 28 23:49:11 2009 +0000 @@ -43,7 +43,7 @@ static \\(unsigned \\)?char \\1_bits" . xbm) ("\\`\\(?:MM\0\\*\\|II\\*\0\\)" . tiff) ("\\`[\t\n\r ]*%!PS" . postscript) - ("\\`\xff\xd8" . (image-jpeg-p . jpeg)) + ("\\`\xff\xd8" . jpeg) ; used to be (image-jpeg-p . jpeg) (,(let* ((incomment-re "\\(?:[^-]\\|-[^-]\\)") (comment-re (concat "\\(?:!--" incomment-re "*-->[ \t\r\n]*<\\)"))) (concat "\\(?:<\\?xml[ \t\r\n]+[^>]*>\\)?[ \t\r\n]*<"