diff --git a/lisp/files.el b/lisp/files.el index 6c9b9a7542e..71f33e5f1a1 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2115,7 +2115,8 @@ of the regular expression. The mode is then determined as the mode associated with that interpreter in `interpreter-mode-alist'.") (defvar magic-mode-alist - `(;; The < comes before the groups (but the first) to reduce backtracking. + `((image-type-from-buffer . image-mode) + ;; The < comes before the groups (but the first) to reduce backtracking. ;; TODO: UTF-16