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
fa4354c1
Commit
fa4354c1
authored
Nov 24, 2008
by
Andreas Schwab
Browse files
(image-type-header-regexps): Recognize more xbm format
variants.
parent
98d92ce3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/image.el
lisp/image.el
+5
-3
No files found.
lisp/ChangeLog
View file @
fa4354c1
2008-11-24 Andreas Schwab <schwab@suse.de>
* image.el (image-type-header-regexps): Recognize more xbm format
variants.
2008-11-24 Juanma Barranquero <lekktu@gmail.com>
* textmodes/artist.el (artist-charlist-to-string): Simplify.
...
...
lisp/image.el
View file @
fa4354c1
...
...
@@ -36,9 +36,11 @@
(
"\\`P[1-6][[:space:]]+\\(?:#.*[[:space:]]+\\)*[0-9]+[[:space:]]+[0-9]+"
.
pbm
)
(
"\\`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
\
static
char
\\1_bits
" . xbm)
(
"
\\
`
[\t\n\r
]*#define
\\
(
[a-z0-9_]+\\
)
_width
[0-9]+\n
\
#
define
\\1_height
[0-9]+\n\\
(
\
#
define
\\1_x_hot
[0-9]+\n
\
#
define
\\1_y_hot
[0-9]+\n\\
)
?
\
static
\\
(
unsigned
\\
)
?char
\\1_bits
" . xbm)
("
\\
`
\\
(
?:MM\0\\*\\|II\\*\0\\)" . tiff)
("\\`[\t\n\r ]*%!PS" . postscript)
("\\`\xff\xd8" . (image-jpeg-p . jpeg))
...
...
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