# HG changeset patch # User Glenn Morris # Date 1187755521 0 # Node ID 87fbe35cdcf589d64f53c6528de16cdfd2b93648 # Parent 710ed8032f165dcdbb5edc022897c5f3692b06b5 Paul Pogonyshev (image-type-header-regexps): Add svg entry. diff -r 710ed8032f16 -r 87fbe35cdcf5 lisp/image.el --- 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,