changeset 82521:87fbe35cdcf5

Paul Pogonyshev <pogonyshev at gmx.net> (image-type-header-regexps): Add svg entry.
author Glenn Morris <rgm@gnu.org>
date Wed, 22 Aug 2007 04:05:21 +0000
parents 710ed8032f16
children 7d277dcc9c0f
files lisp/image.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/image.el	Wed Aug 22 04:03:35 2007 +0000
+++ b/lisp/image.el	Wed Aug 22 04:05:21 2007 +0000
@@ -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,