From: Glenn Morris Date: Wed, 22 Aug 2007 04:05:28 +0000 (+0000) Subject: Paul Pogonyshev X-Git-Tag: emacs-pretest-23.0.90~11411 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9c818156d9c79e75d1af068a7b7dc71bbdfce003;p=emacs.git Paul Pogonyshev (image-type-header-regexps): Add svg entry. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2e9bc28b7a7..93822965fa7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2007-08-22 Paul Pogonyshev + + * image-file.el (image-file-name-extensions): Add "svg". + * image.el (image-type-header-regexps): Add svg entry. + 2007-08-22 Glenn Morris * files.el (backup-buffer-copy): Check backup directory is 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,