summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2008-07-25 05:44:01 +0000
committerChong Yidong <cyd@stupidchicken.com>2008-07-25 05:44:01 +0000
commitbd9a66dd0927a7262f8ee645d54bff79b5593ab5 (patch)
tree26f189f8e071463384190e388fc0d483bd6737dc /lisp
parent763e5db38c87c0f6bf470f77bb00169df04acaf4 (diff)
downloademacs-bd9a66dd0927a7262f8ee645d54bff79b5593ab5.tar.gz
(image-minor-mode): Set up winprops.
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 ")