From 6ea3db8a109343832a5da4458bb5259481c3058e Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 21 Aug 2001 08:12:16 +0000 Subject: [PATCH] (image-type-regexps): Make sure that the TIFF pattern is only matched at the beginning of a string. From Markus Rost . --- lisp/ChangeLog | 4 ++++ lisp/image.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 984ef8384c7..40eef086a4e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,9 @@ 2001-08-21 Gerd Moellmann + * image.el (image-type-regexps): Make sure that the TIFF + pattern is only matched at the beginning of a string. + From Markus Rost . + * international/swedish.el: Pre-Mule file removed. From: Jonas Oberg . diff --git a/lisp/image.el b/lisp/image.el index f7ab77379dc..e4c2387d78e 100644 --- a/lisp/image.el +++ b/lisp/image.el @@ -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. -- 2.39.5