summaryrefslogtreecommitdiff
path: root/lisp/image.el
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-08-21 08:12:16 +0000
committerGerd Moellmann <gerd@gnu.org>2001-08-21 08:12:16 +0000
commit6ea3db8a109343832a5da4458bb5259481c3058e (patch)
treeff37d6c103e60a48c21189a6ea2e8277e8056eff /lisp/image.el
parent37618c60af47be61986fd0ad77981833fb9d6187 (diff)
downloademacs-6ea3db8a109343832a5da4458bb5259481c3058e.tar.gz
(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>.
Diffstat (limited to 'lisp/image.el')
-rw-r--r--lisp/image.el2
1 files changed, 1 insertions, 1 deletions
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.