diff options
| author | Chong Yidong | 2007-02-09 16:50:00 +0000 |
|---|---|---|
| committer | Chong Yidong | 2007-02-09 16:50:00 +0000 |
| commit | a3f83992c5a80eb0cf64797a62e30854f7d95f1a (patch) | |
| tree | 9c451cb297a2564b96eb73d5c2c57f6265ba535b | |
| parent | ca878c38f4330989fcbaba529bea2a6a1dbb9373 (diff) | |
| download | emacs-a3f83992c5a80eb0cf64797a62e30854f7d95f1a.tar.gz emacs-a3f83992c5a80eb0cf64797a62e30854f7d95f1a.zip | |
(magic-mode-alist): Call image-mode instead of image-mode-maybe for
autodetected images.
| -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 139585368ff..36f9e0353fb 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 | |||
| 2127 | associated with that interpreter in `interpreter-mode-alist'.") | 2127 | associated 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-maybe) | 2130 | `((image-type-auto-detected-p . image-mode) |
| 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. |