changeset 97001:a549971e6b11

(image-minor-mode): Set up winprops.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 25 Jul 2008 05:44:01 +0000
parents 3903faf8b34b
children 1ff787a61e48
files lisp/image-mode.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/image-mode.el	Fri Jul 25 05:43:45 2008 +0000
+++ b/lisp/image-mode.el	Fri Jul 25 05:44:01 2008 +0000
@@ -361,6 +361,7 @@
     (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 ")