Commit bd9a66dd authored by Chong Yidong's avatar Chong Yidong
Browse files

(image-minor-mode): Set up winprops.

parent 763e5db3
......@@ -361,6 +361,7 @@ See the command `image-mode' for more information on this mode."
(if (image-get-display-property)
(setq cursor-type nil truncate-lines t)
(setq image-type "text"))
(add-hook 'change-major-mode-hook (lambda () (image-minor-mode -1)) nil t)
(message "%s" (concat (substitute-command-keys
"Type \\[image-toggle-display] to view the image as ")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment