diff options
| author | Glenn Morris | 2007-08-22 04:05:28 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-08-22 04:05:28 +0000 |
| commit | 9c818156d9c79e75d1af068a7b7dc71bbdfce003 (patch) | |
| tree | 8fbdea3454873df141065c54eb5fb243810dea7c /lisp | |
| parent | 81de8fcf0757063b1e9e02c3058377d093a368b2 (diff) | |
| download | emacs-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/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/image.el | 3 |
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 @@ | |||
| 1 | 2007-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 | |||
| 1 | 2007-08-22 Glenn Morris <rgm@gnu.org> | 6 | 2007-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 @@ | |||
| 43 | static char \\1_bits" . xbm) | 43 | static 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. |
| 48 | When the first bytes of an image file match REGEXP, it is assumed to | 49 | When the first bytes of an image file match REGEXP, it is assumed to |
| 49 | be of image type IMAGE-TYPE if IMAGE-TYPE is a symbol. If not a symbol, | 50 | be of image type IMAGE-TYPE if IMAGE-TYPE is a symbol. If not a symbol, |