aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2007-02-09 16:50:00 +0000
committerChong Yidong2007-02-09 16:50:00 +0000
commita3f83992c5a80eb0cf64797a62e30854f7d95f1a (patch)
tree9c451cb297a2564b96eb73d5c2c57f6265ba535b
parentca878c38f4330989fcbaba529bea2a6a1dbb9373 (diff)
downloademacs-a3f83992c5a80eb0cf64797a62e30854f7d95f1a.tar.gz
emacs-a3f83992c5a80eb0cf64797a62e30854f7d95f1a.zip
(magic-mode-alist): Call image-mode instead of image-mode-maybe for
autodetected images.
-rw-r--r--lisp/files.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 139585368ff..36f9e0353fb 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
2127associated with that interpreter in `interpreter-mode-alist'.") 2127associated with that interpreter in `interpreter-mode-alist'.")
2128 2128
2129(defvar magic-mode-alist 2129(defvar magic-mode-alist
2130 `((image-type-auto-detected-p . image-mode-maybe) 2130 `((image-type-auto-detected-p . image-mode)
2131 ;; The < comes before the groups (but the first) to reduce backtracking. 2131 ;; The < comes before the groups (but the first) to reduce backtracking.
2132 ;; TODO: UTF-16 <?xml may be preceded by a BOM 0xff 0xfe or 0xfe 0xff. 2132 ;; TODO: UTF-16 <?xml may be preceded by a BOM 0xff 0xfe or 0xfe 0xff.
2133 ;; We use [ \t\n] instead of `\\s ' to make regex overflow less likely. 2133 ;; We use [ \t\n] instead of `\\s ' to make regex overflow less likely.