diff options
| -rw-r--r-- | lisp/image-mode.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/image-mode.el b/lisp/image-mode.el index 3e10afcbfeb..13a689b6061 100644 --- a/lisp/image-mode.el +++ b/lisp/image-mode.el | |||
| @@ -105,7 +105,8 @@ information on these modes." | |||
| 105 | elt)) | 105 | elt)) |
| 106 | auto-mode-alist)))) | 106 | auto-mode-alist)))) |
| 107 | (if (assoc-default buffer-file-name mode-alist 'string-match) | 107 | (if (assoc-default buffer-file-name mode-alist 'string-match) |
| 108 | (let ((auto-mode-alist mode-alist)) | 108 | (let ((auto-mode-alist mode-alist) |
| 109 | (magic-mode-alist nil)) | ||
| 109 | (set-auto-mode) | 110 | (set-auto-mode) |
| 110 | (image-minor-mode t)) | 111 | (image-minor-mode t)) |
| 111 | (image-mode)))) | 112 | (image-mode)))) |