(magic-mode-alist): Call image-mode instead of image-mode-maybe for

autodetected images.
This commit is contained in:
Chong Yidong 2007-02-09 16:50:00 +00:00
parent ca878c38f4
commit a3f83992c5

View file

@ -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-maybe)
`((image-type-auto-detected-p . image-mode)
;; 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.