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
1155d483
Commit
1155d483
authored
Aug 07, 2001
by
Gerd Moellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(image-type-regexps): For JPEG files, use a regexp
derived from the JPEG spec.
parent
69ebef1d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
lisp/ChangeLog
lisp/ChangeLog
+3
-0
lisp/image.el
lisp/image.el
+2
-1
No files found.
lisp/ChangeLog
View file @
1155d483
2001-08-07 Gerd Moellmann <gerd@gnu.org>
* image.el (image-type-regexps): For JPEG files, use a regexp
derived from the JPEG spec.
* image.el (image-type-regexps): Use `\`' instead of `^' in
most regular expressions.
...
...
lisp/image.el
View file @
1155d483
...
...
@@ -34,7 +34,8 @@
'
((
"\\`/\\*.*XPM.\\*/"
.
xpm
)
(
"\\`P[1-6]"
.
pbm
)
(
"\\`GIF8"
.
gif
)
(
"JFIF"
.
jpeg
)
;; The following is from JPEG File Interchange Format, Version 1.02.
(
"\\`\xff\xd8\xff\xe0..JFIF\0"
.
jpeg
)
(
"\\`\211PNG\r\n"
.
png
)
(
"\\`#define"
.
xbm
)
(
"\\`\\(MM\0\\*\\)\\|\\(II\\*\0\\)"
.
tiff
)
...
...
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