# HG changeset patch # User Andreas Schwab # Date 1227547317 0 # Node ID e8248a7b666dc9126a9c64fa39b8c02f3c2a65f9 # Parent 3658bfd115cdad067dd3c63987eec853b44f2f4a (image-type-header-regexps): Recognize more xbm format variants. diff -r 3658bfd115cd -r e8248a7b666d lisp/ChangeLog --- a/lisp/ChangeLog Mon Nov 24 16:30:14 2008 +0000 +++ b/lisp/ChangeLog Mon Nov 24 17:21:57 2008 +0000 @@ -1,3 +1,8 @@ +2008-11-24 Andreas Schwab + + * image.el (image-type-header-regexps): Recognize more xbm format + variants. + 2008-11-24 Juanma Barranquero * textmodes/artist.el (artist-charlist-to-string): Simplify. diff -r 3658bfd115cd -r e8248a7b666d lisp/image.el --- a/lisp/image.el Mon Nov 24 16:30:14 2008 +0000 +++ b/lisp/image.el Mon Nov 24 17:21:57 2008 +0000 @@ -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))