Mercurial > emacs
diff lisp/image.el @ 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 | e5a68f18fcb9 |
| children | 8c182b8c81d6 |
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,
