diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2006-12-30 01:53:11 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2006-12-30 01:53:11 +0000 |
commit | 305018c684d36b1e734fd5663b6226a3ba28d396 (patch) | |
tree | b2625230ad3cc066bb1d2b28a79ebd238b3dcbac /lisp/files.el | |
parent | 6642c904c49bd4980d998399ce27735e0c4b4c1d (diff) | |
download | emacs-305018c684d36b1e734fd5663b6226a3ba28d396.tar.gz |
(magic-mode-alist): Detect image files with `image-type-auto-detected-p'
instead of `image-type-from-buffer'.
Diffstat (limited to 'lisp/files.el')
-rw-r--r-- | lisp/files.el | 2 |
1 files changed, 1 insertions, 1 deletions
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 <?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. |