diff options
author | Gerd Moellmann <gerd@gnu.org> | 2001-08-07 08:55:12 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2001-08-07 08:55:12 +0000 |
commit | 1155d48351e6badb1bf27658ccbda38d5f5d6fd6 (patch) | |
tree | d6fca307ea19a904194dc1c155ab90ee72fc7d45 /lisp/image.el | |
parent | 69ebef1d59bfed74c0d1fb68fd9a3a7c73aa03fc (diff) | |
download | emacs-1155d48351e6badb1bf27658ccbda38d5f5d6fd6.tar.gz |
(image-type-regexps): For JPEG files, use a regexp
derived from the JPEG spec.
Diffstat (limited to 'lisp/image.el')
-rw-r--r-- | lisp/image.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/image.el b/lisp/image.el index 14b9da5cf07..e0d19f5b776 100644 --- a/lisp/image.el +++ b/lisp/image.el @@ -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) |