Mercurial > emacs
diff lisp/image.el @ 75115:1ec77a44faf9
(image-type-header-regexps): Recognize xbm more strictly.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 05 Jan 2007 22:54:07 +0000 |
parents | 94afc7cac404 |
children | e3694f1cb928 |
line wrap: on
line diff
--- a/lisp/image.el Fri Jan 05 20:24:50 2007 +0000 +++ b/lisp/image.el Fri Jan 05 22:54:07 2007 +0000 @@ -38,7 +38,9 @@ ("\\`P[1-6][[:space:]]+\\(?:#.*[[:space:]]+\\)*[0-9]+[[:space:]]+[0-9]+" . pbm) ("\\`GIF8" . gif) ("\\`\x89PNG\r\n\x1a\n" . png) - ("\\`[\t\n\r ]*#define" . xbm) + ("\\`[\t\n\r ]*#define \\([a-z0-9]+\\)_width [0-9]+\n\ +#define \\1_height [0-9]+\n\ +static char \\1_bits" . xbm) ("\\`\\(?:MM\0\\*\\|II\\*\0\\)" . tiff) ("\\`[\t\n\r ]*%!PS" . postscript) ("\\`\xff\xd8" . (image-jpeg-p . jpeg)))