Mercurial > emacs
diff lisp/image.el @ 38711:8b3c56aabe92
(image-type-regexps): For JPEG files, use a regexp
derived from the JPEG spec.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 07 Aug 2001 08:54:36 +0000 |
parents | 00a56d6da660 |
children | 24fe4f884e82 |
line wrap: on
line diff
--- a/lisp/image.el Tue Aug 07 08:03:42 2001 +0000 +++ b/lisp/image.el Tue Aug 07 08:54:36 2001 +0000 @@ -34,7 +34,8 @@ '(("\\`/\\*.*XPM.\\*/" . xpm) ("\\`P[1-6]" . pbm) ("\\`GIF8" . gif) - ("JFIF" . jpeg) + ;; The following is from JPEG File Interchange Format, Version 1.02. + ("\\`\xff\xd8\xff\xe0..JFIF\0" . jpeg) ("\\`\211PNG\r\n" . png) ("\\`#define" . xbm) ("\\`\\(MM\0\\*\\)\\|\\(II\\*\0\\)" . tiff)