Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
9c818156
Commit
9c818156
authored
Aug 22, 2007
by
Glenn Morris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Paul Pogonyshev <pogonyshev at gmx.net>
(image-type-header-regexps): Add svg entry.
parent
81de8fcf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/image.el
lisp/image.el
+2
-1
No files found.
lisp/ChangeLog
View file @
9c818156
2007-08-22 Paul Pogonyshev <pogonyshev@gmx.net>
* image-file.el (image-file-name-extensions): Add "svg".
* image.el (image-type-header-regexps): Add svg entry.
2007-08-22 Glenn Morris <rgm@gnu.org>
* files.el (backup-buffer-copy): Check backup directory is
...
...
lisp/image.el
View file @
9c818156
...
...
@@ -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,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment