changeset 38884:afaef792868d

(image-type-regexps): Make sure that the TIFF pattern is only matched at the beginning of a string. From Markus Rost <rost@math.ohio-state.edu>.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 21 Aug 2001 08:11:52 +0000
parents 9ba635bd8124
children 6a59bf426176
files lisp/image.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.