From: tomo Date: Thu, 5 Oct 2000 01:53:08 +0000 (+0000) Subject: (format-alist): Revive `image/jpeg', `image/gif', `image/png', X-Git-Tag: r21-2-36-utf-2000-0_17-0~12 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=4a6813225f57a5927a8db38b4856ca98f3afe234;p=chise%2Fxemacs-chise.git (format-alist): Revive `image/jpeg', `image/gif', `image/png', `image/x-xpm' and `image/tiff'. --- diff --git a/lisp/format.el b/lisp/format.el index 7542247..ae37ac1 100644 --- a/lisp/format.el +++ b/lisp/format.el @@ -70,20 +70,20 @@ (defvar format-alist '( -; (image/jpeg "JPEG image" "\377\330\377\340\000\020JFIF" -; image-decode-jpeg nil t image-mode) -; (image/gif "GIF image" "GIF8[79]" -; image-decode-gif nil t image-mode) -; (image/png "Portable Network Graphics" "\211PNG" -; image-decode-png nil t image-mode) -; (image/x-xpm "XPM image" "/\\* XPM \\*/" -; image-decode-xpm nil t image-mode) - -; ;; TIFF files have lousy magic -; (image/tiff "TIFF image" "II\\*\000" -; image-decode-tiff nil t image-mode) ;; TIFF 6.0 big-endian -; (image/tiff "TIFF image" "MM\000\\*" -; image-decode-tiff nil t image-mode) ;; TIFF 6.0 little-endian + (image/jpeg "JPEG image" "\377\330\377\340\000\020JFIF" + image-decode-jpeg nil t image-mode) + (image/gif "GIF image" "GIF8[79]" + image-decode-gif nil t image-mode) + (image/png "Portable Network Graphics" "\211PNG" + image-decode-png nil t image-mode) + (image/x-xpm "XPM image" "/\\* XPM \\*/" + image-decode-xpm nil t image-mode) + + ;; TIFF files have lousy magic + (image/tiff "TIFF image" "II\\*\000" + image-decode-tiff nil t image-mode) ;; TIFF 6.0 big-endian + (image/tiff "TIFF image" "MM\000\\*" + image-decode-tiff nil t image-mode) ;; TIFF 6.0 little-endian (text/enriched "Extended MIME text/enriched format." "Content-[Tt]ype:[ \t]*text/enriched"