aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris2007-08-22 04:05:28 +0000
committerGlenn Morris2007-08-22 04:05:28 +0000
commit9c818156d9c79e75d1af068a7b7dc71bbdfce003 (patch)
tree8fbdea3454873df141065c54eb5fb243810dea7c /lisp
parent81de8fcf0757063b1e9e02c3058377d093a368b2 (diff)
downloademacs-9c818156d9c79e75d1af068a7b7dc71bbdfce003.tar.gz
emacs-9c818156d9c79e75d1af068a7b7dc71bbdfce003.zip
Paul Pogonyshev <pogonyshev at gmx.net>
(image-type-header-regexps): Add svg entry.
Diffstat (limited to 'lisp')
-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,