summaryrefslogtreecommitdiff
path: root/lisp/image.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2007-01-28 07:09:44 +0000
committerRichard M. Stallman <rms@gnu.org>2007-01-28 07:09:44 +0000
commit3205431dd032ed81c6c5203128b93e634b15fda0 (patch)
tree42e7e2419d6feb7bf6e58d8c7e25c5f1ba095db5 /lisp/image.el
parent7378b2f99549146ef3dc1180592cfa7111fb71c0 (diff)
downloademacs-3205431dd032ed81c6c5203128b93e634b15fda0.tar.gz
(image-type-header-regexps): Make GIF regex more specific.
Diffstat (limited to 'lisp/image.el')
-rw-r--r--lisp/image.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/image.el b/lisp/image.el
index 89db0bb1b1b..22fa704d220 100644
--- a/lisp/image.el
+++ b/lisp/image.el
@@ -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\