]> git.eshelyaron.com Git - emacs.git/commitdiff
(magic-mode-alist): Call image-mode instead of image-mode-maybe for
authorChong Yidong <cyd@stupidchicken.com>
Fri, 9 Feb 2007 16:50:00 +0000 (16:50 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 9 Feb 2007 16:50:00 +0000 (16:50 +0000)
autodetected images.

lisp/files.el

index 139585368ff8501a3723cc61bd6ba15c0c540224..36f9e0353fb09071dac7c5920d0de7ce497282d0 100644 (file)
@@ -2127,7 +2127,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-auto-detected-p . image-mode-maybe)
+  `((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.