]> code.delx.au - gnu-emacs/blobdiff - lisp/image-mode.el
(ispell-keep-choices-win, ispell-dictionary-alist, ispell-word,
[gnu-emacs] / lisp / image-mode.el
index 5b24aa316dd657fb550945ffbbf545b8bb655c69..eb08de1d6bbb12c7d0ba64d7be96a3296cdb42bf 100644 (file)
@@ -70,7 +70,7 @@ to toggle between display as an image and display as text."
   (if (display-images-p)
       (message "%s" (concat
                     (substitute-command-keys
-                     "Type \\[image-toggle-display] to view the image as ")
+                     "Type \\[image-toggle-display] to view as ")
                     (if (get-text-property (point-min) 'display)
                         "text" "an image") "."))))
 
@@ -111,7 +111,8 @@ information on these modes."
                         elt))
                     auto-mode-alist))))
     (if (assoc-default buffer-file-name mode-alist 'string-match)
-       (let ((auto-mode-alist mode-alist))
+       (let ((auto-mode-alist mode-alist)
+             (magic-mode-alist nil))
          (set-auto-mode)
          (image-minor-mode t))
       (image-mode))))