From 4a6813225f57a5927a8db38b4856ca98f3afe234 Mon Sep 17 00:00:00 2001 From: tomo Date: Thu, 5 Oct 2000 01:53:08 +0000 Subject: [PATCH] (format-alist): Revive `image/jpeg', `image/gif', `image/png', `image/x-xpm' and `image/tiff'. --- lisp/format.el | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) 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" -- 1.7.10.4