summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2007-01-31 12:37:29 +0000
committerJason Rumney <jasonr@gnu.org>2007-01-31 12:37:29 +0000
commit42727ea7e15e9ca8149a37b530c4c88afc86b643 (patch)
tree272ce67275c9b4324c3f3fdeab04e48b574bbe6a /lisp/files.el
parent2ad51e7da8ffcf8e4b2d5bcc60b8ad05d0f567d1 (diff)
downloademacs-42727ea7e15e9ca8149a37b530c4c88afc86b643.tar.gz
(magic-mode-alist): Use image-mode-maybe rather than
image-mode.
Diffstat (limited to 'lisp/files.el')
-rw-r--r--lisp/files.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 36f9e0353fb..139585368ff 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -2127,7 +2127,7 @@ of the regular expression. The mode is then determined as the mode
associated with that interpreter in `interpreter-mode-alist'.")
(defvar magic-mode-alist
- `((image-type-auto-detected-p . image-mode)
+ `((image-type-auto-detected-p . image-mode-maybe)
;; The < comes before the groups (but the first) to reduce backtracking.
;; TODO: UTF-16 <?xml may be preceded by a BOM 0xff 0xfe or 0xfe 0xff.
;; We use [ \t\n] instead of `\\s ' to make regex overflow less likely.