# HG changeset patch # User Gerd Moellmann # Date 998381512 0 # Node ID afaef792868d81623e013e222a143ad449cbe2bc # Parent 9ba635bd812478e98cc95ec5739836cd6fd302c7 (image-type-regexps): Make sure that the TIFF pattern is only matched at the beginning of a string. From Markus Rost . diff -r 9ba635bd8124 -r afaef792868d lisp/image.el --- a/lisp/image.el Tue Aug 21 07:21:31 2001 +0000 +++ b/lisp/image.el Tue Aug 21 08:11:52 2001 +0000 @@ -36,7 +36,7 @@ ("\\`GIF8" . gif) ("\\`\211PNG\r\n" . png) ("\\`[\t\n\r ]*#define" . xbm) - ("\\`\\(MM\0\\*\\)\\|\\(II\\*\0\\)" . tiff) + ("\\`\\(MM\0\\*\\|II\\*\0\\)" . tiff) ("\\`[\t\n\r ]*%!PS" . postscript) ("\\`\xff\xd8" . (image-jpeg-p . jpeg))) "Alist of (REGEXP . IMAGE-TYPE) pairs used to auto-detect image types.