]> git.eshelyaron.com Git - emacs.git/commitdiff
(image-minor-mode): Set up winprops.
authorChong Yidong <cyd@stupidchicken.com>
Fri, 25 Jul 2008 05:44:01 +0000 (05:44 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 25 Jul 2008 05:44:01 +0000 (05:44 +0000)
lisp/image-mode.el

index 00f222586b292542532c80f718160381629c3234..78b4ab53547acfb8f9175cf4cbf72aaf363efc9b 100644 (file)
@@ -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 ")