]> git.eshelyaron.com Git - emacs.git/commitdiff
(image-type-header-regexps): Make GIF regex more specific.
authorRichard M. Stallman <rms@gnu.org>
Sun, 28 Jan 2007 07:09:44 +0000 (07:09 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 28 Jan 2007 07:09:44 +0000 (07:09 +0000)
lisp/image.el

index 89db0bb1b1bd867db8a2b43d8dd2d9013b6331e4..22fa704d2203a3c420368fdb16007e778bf4c08e 100644 (file)
@@ -36,7 +36,7 @@
 (defconst image-type-header-regexps
   '(("\\`/[\t\n\r ]*\\*.*XPM.\\*/" . xpm)
     ("\\`P[1-6][[:space:]]+\\(?:#.*[[:space:]]+\\)*[0-9]+[[:space:]]+[0-9]+" . pbm)
-    ("\\`GIF8" . gif)
+    ("\\`GIF8[79]a" . gif)
     ("\\`\x89PNG\r\n\x1a\n" . png)
     ("\\`[\t\n\r ]*#define \\([a-z0-9]+\\)_width [0-9]+\n\
 #define \\1_height [0-9]+\n\