Mercurial > emacs
changeset 74973:7f729944fa45
(magic-mode-alist): Detect image files with `image-type-auto-detected-p'
instead of `image-type-from-buffer'.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Sat, 30 Dec 2006 01:53:11 +0000 |
parents | 94afc7cac404 |
children | 78afa86b94e9 |
files | lisp/files.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/files.el Sat Dec 30 01:51:24 2006 +0000 +++ b/lisp/files.el Sat Dec 30 01:53:11 2006 +0000 @@ -2115,7 +2115,7 @@ 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 <?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.