Commit 9c818156 authored by Glenn Morris's avatar Glenn Morris

Paul Pogonyshev <pogonyshev at>

(image-type-header-regexps): Add svg entry.
parent 81de8fcf
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
......@@ -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,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment