From: Juanma Barranquero Date: Sat, 30 Dec 2006 01:53:11 +0000 (+0000) Subject: (magic-mode-alist): Detect image files with `image-type-auto-detected-p' X-Git-Tag: emacs-pretest-22.0.93~356 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=305018c684d36b1e734fd5663b6226a3ba28d396;p=emacs.git (magic-mode-alist): Detect image files with `image-type-auto-detected-p' instead of `image-type-from-buffer'. --- 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