Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
3205431d
Commit
3205431d
authored
Jan 28, 2007
by
Richard M. Stallman
Browse files
(image-type-header-regexps): Make GIF regex more specific.
parent
7378b2f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lisp/image.el
lisp/image.el
+1
-1
No files found.
lisp/image.el
View file @
3205431d
...
...
@@ -36,7 +36,7 @@
(
defconst
image-type-header-regexps
'
((
"\\`/[\t\n\r ]*\\*.*XPM.\\*/"
.
xpm
)
(
"\\`P[1-6][[:space:]]+\\(?:#.*[[:space:]]+\\)*[0-9]+[[:space:]]+[0-9]+"
.
pbm
)
(
"\\`GIF8"
.
gif
)
(
"\\`GIF8
[79]a
"
.
gif
)
(
"\\`\x89PNG\r\n\x1a\n"
.
png
)
(
"
\\
`
[\t\n\r
]*#define
\\
(
[a-z0-9]+\\
)
_width
[0-9]+\n
\
#
define
\\1_height
[0-9]+\n
\
...
...
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