summaryrefslogtreecommitdiff
path: root/lisp/image.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2007-08-22 04:05:28 +0000
committerGlenn Morris <rgm@gnu.org>2007-08-22 04:05:28 +0000
commit9c818156d9c79e75d1af068a7b7dc71bbdfce003 (patch)
tree8fbdea3454873df141065c54eb5fb243810dea7c /lisp/image.el
parent81de8fcf0757063b1e9e02c3058377d093a368b2 (diff)
downloademacs-9c818156d9c79e75d1af068a7b7dc71bbdfce003.tar.gz
Paul Pogonyshev <pogonyshev at gmx.net>
(image-type-header-regexps): Add svg entry.
Diffstat (limited to 'lisp/image.el')
-rw-r--r--lisp/image.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/image.el b/lisp/image.el
index 6763cf151fe..d63c69cafed 100644
--- a/lisp/image.el
+++ b/lisp/image.el
@@ -43,7 +43,8 @@
static char \\1_bits" . xbm)
("\\`\\(?:MM\0\\*\\|II\\*\0\\)" . tiff)
("\\`[\t\n\r ]*%!PS" . postscript)
- ("\\`\xff\xd8" . (image-jpeg-p . jpeg)))
+ ("\\`\xff\xd8" . (image-jpeg-p . jpeg))
+ ("\\`<\\?xml " . svg))
"Alist of (REGEXP . IMAGE-TYPE) pairs used to auto-detect image types.
When the first bytes of an image file match REGEXP, it is assumed to
be of image type IMAGE-TYPE if IMAGE-TYPE is a symbol. If not a symbol,