# HG changeset patch # User Chong Yidong # Date 1216964641 0 # Node ID a549971e6b11926512fd83c8b309ed8cce58cc1a # Parent 3903faf8b34b96e7265b271d4c4ebc5b23a78c31 (image-minor-mode): Set up winprops. diff -r 3903faf8b34b -r a549971e6b11 lisp/image-mode.el --- 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 ")