aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorAndreas Schwab2008-11-24 17:21:57 +0000
committerAndreas Schwab2008-11-24 17:21:57 +0000
commitfa4354c1178bfabce6b099cc5e502331309621cb (patch)
treeea0af528f0ab6f91a556a498c57b2ddd3fd8688a /lisp
parent98d92ce3e7c7ec931626f1cc53dc5ead443ef66f (diff)
downloademacs-fa4354c1178bfabce6b099cc5e502331309621cb.tar.gz
emacs-fa4354c1178bfabce6b099cc5e502331309621cb.zip
(image-type-header-regexps): Recognize more xbm format
variants.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/image.el8
2 files changed, 10 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7e70fd52e23..57a6c8635e0 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12008-11-24 Andreas Schwab <schwab@suse.de>
2
3 * image.el (image-type-header-regexps): Recognize more xbm format
4 variants.
5
12008-11-24 Juanma Barranquero <lekktu@gmail.com> 62008-11-24 Juanma Barranquero <lekktu@gmail.com>
2 7
3 * textmodes/artist.el (artist-charlist-to-string): Simplify. 8 * textmodes/artist.el (artist-charlist-to-string): Simplify.
diff --git a/lisp/image.el b/lisp/image.el
index 2633ff28310..f7273ea5f3f 100644
--- a/lisp/image.el
+++ b/lisp/image.el
@@ -36,9 +36,11 @@
36 ("\\`P[1-6][[:space:]]+\\(?:#.*[[:space:]]+\\)*[0-9]+[[:space:]]+[0-9]+" . pbm) 36 ("\\`P[1-6][[:space:]]+\\(?:#.*[[:space:]]+\\)*[0-9]+[[:space:]]+[0-9]+" . pbm)
37 ("\\`GIF8[79]a" . gif) 37 ("\\`GIF8[79]a" . gif)
38 ("\\`\x89PNG\r\n\x1a\n" . png) 38 ("\\`\x89PNG\r\n\x1a\n" . png)
39 ("\\`[\t\n\r ]*#define \\([a-z0-9]+\\)_width [0-9]+\n\ 39 ("\\`[\t\n\r ]*#define \\([a-z0-9_]+\\)_width [0-9]+\n\
40#define \\1_height [0-9]+\n\ 40#define \\1_height [0-9]+\n\\(\
41static char \\1_bits" . xbm) 41#define \\1_x_hot [0-9]+\n\
42#define \\1_y_hot [0-9]+\n\\)?\
43static \\(unsigned \\)?char \\1_bits" . xbm)
42 ("\\`\\(?:MM\0\\*\\|II\\*\0\\)" . tiff) 44 ("\\`\\(?:MM\0\\*\\|II\\*\0\\)" . tiff)
43 ("\\`[\t\n\r ]*%!PS" . postscript) 45 ("\\`[\t\n\r ]*%!PS" . postscript)
44 ("\\`\xff\xd8" . (image-jpeg-p . jpeg)) 46 ("\\`\xff\xd8" . (image-jpeg-p . jpeg))