aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/image.el3
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2e9bc28b7a7..93822965fa7 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12007-08-22 Paul Pogonyshev <pogonyshev@gmx.net>
2
3 * image-file.el (image-file-name-extensions): Add "svg".
4 * image.el (image-type-header-regexps): Add svg entry.
5
12007-08-22 Glenn Morris <rgm@gnu.org> 62007-08-22 Glenn Morris <rgm@gnu.org>
2 7
3 * files.el (backup-buffer-copy): Check backup directory is 8 * 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 @@
43static char \\1_bits" . xbm) 43static char \\1_bits" . xbm)
44 ("\\`\\(?:MM\0\\*\\|II\\*\0\\)" . tiff) 44 ("\\`\\(?:MM\0\\*\\|II\\*\0\\)" . tiff)
45 ("\\`[\t\n\r ]*%!PS" . postscript) 45 ("\\`[\t\n\r ]*%!PS" . postscript)
46 ("\\`\xff\xd8" . (image-jpeg-p . jpeg))) 46 ("\\`\xff\xd8" . (image-jpeg-p . jpeg))
47 ("\\`<\\?xml " . svg))
47 "Alist of (REGEXP . IMAGE-TYPE) pairs used to auto-detect image types. 48 "Alist of (REGEXP . IMAGE-TYPE) pairs used to auto-detect image types.
48When the first bytes of an image file match REGEXP, it is assumed to 49When the first bytes of an image file match REGEXP, it is assumed to
49be of image type IMAGE-TYPE if IMAGE-TYPE is a symbol. If not a symbol, 50be of image type IMAGE-TYPE if IMAGE-TYPE is a symbol. If not a symbol,