From 305018c684d36b1e734fd5663b6226a3ba28d396 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Sat, 30 Dec 2006 01:53:11 +0000 Subject: [PATCH] (magic-mode-alist): Detect image files with `image-type-auto-detected-p' instead of `image-type-from-buffer'. --- lisp/files.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/files.el b/lisp/files.el index 71f33e5f1a1..78e25fe8c24 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2115,7 +2115,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-from-buffer . image-mode) + `((image-type-auto-detected-p . image-mode) ;; The < comes before the groups (but the first) to reduce backtracking. ;; TODO: UTF-16