aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Rumney2007-01-31 12:37:29 +0000
committerJason Rumney2007-01-31 12:37:29 +0000
commite8a84e5ba2b9472552ca6034cdb5a5b71019ea44 (patch)
tree6122f0d8a94859deafdeb3c333bbf3167aa5eeb4
parent9fce2d717b7ee8ed4326ebb99505eb84ee6535d3 (diff)
downloademacs-e8a84e5ba2b9472552ca6034cdb5a5b71019ea44.tar.gz
emacs-e8a84e5ba2b9472552ca6034cdb5a5b71019ea44.zip
(magic-mode-alist): Use image-mode-maybe rather than
image-mode.
-rw-r--r--lisp/files.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 36f9e0353fb..139585368ff 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -2127,7 +2127,7 @@ of the regular expression. The mode is then determined as the mode
2127associated with that interpreter in `interpreter-mode-alist'.") 2127associated with that interpreter in `interpreter-mode-alist'.")
2128 2128
2129(defvar magic-mode-alist 2129(defvar magic-mode-alist
2130 `((image-type-auto-detected-p . image-mode) 2130 `((image-type-auto-detected-p . image-mode-maybe)
2131 ;; The < comes before the groups (but the first) to reduce backtracking. 2131 ;; The < comes before the groups (but the first) to reduce backtracking.
2132 ;; TODO: UTF-16 <?xml may be preceded by a BOM 0xff 0xfe or 0xfe 0xff. 2132 ;; TODO: UTF-16 <?xml may be preceded by a BOM 0xff 0xfe or 0xfe 0xff.
2133 ;; We use [ \t\n] instead of `\\s ' to make regex overflow less likely. 2133 ;; We use [ \t\n] instead of `\\s ' to make regex overflow less likely.