diff options
author | Richard M. Stallman <rms@gnu.org> | 2007-01-05 22:54:11 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2007-01-05 22:54:11 +0000 |
commit | 2dca7106aa894487c6041a45b5af4323363e149b (patch) | |
tree | f673e510fa3fcd76fbaa95d9188ce062fc245f75 /lisp/image.el | |
parent | 654ec2691d83ecabd67147d58c136754172fe3e4 (diff) | |
download | emacs-2dca7106aa894487c6041a45b5af4323363e149b.tar.gz |
(image-type-header-regexps): Recognize xbm more strictly.
Diffstat (limited to 'lisp/image.el')
-rw-r--r-- | lisp/image.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/image.el b/lisp/image.el index e70b9ec539e..a98ca87f728 100644 --- a/lisp/image.el +++ b/lisp/image.el @@ -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))) |