summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/image-mode.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/image-mode.el b/lisp/image-mode.el
index 00f222586b2..78b4ab53547 100644
--- a/lisp/image-mode.el
+++ b/lisp/image-mode.el
@@ -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"))
+ (image-mode-setup-winprops)
(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 ")