(magic-mode-alist): Call image-mode instead of image-mode-maybe for
autodetected images.
This commit is contained in:
parent
ca878c38f4
commit
a3f83992c5
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue