diff options
| author | Chong Yidong | 2008-07-25 05:44:01 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-07-25 05:44:01 +0000 |
| commit | bd9a66dd0927a7262f8ee645d54bff79b5593ab5 (patch) | |
| tree | 26f189f8e071463384190e388fc0d483bd6737dc | |
| parent | 763e5db38c87c0f6bf470f77bb00169df04acaf4 (diff) | |
| download | emacs-bd9a66dd0927a7262f8ee645d54bff79b5593ab5.tar.gz emacs-bd9a66dd0927a7262f8ee645d54bff79b5593ab5.zip | |
(image-minor-mode): Set up winprops.
| -rw-r--r-- | lisp/image-mode.el | 1 |
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." | |||
| 361 | (if (image-get-display-property) | 361 | (if (image-get-display-property) |
| 362 | (setq cursor-type nil truncate-lines t) | 362 | (setq cursor-type nil truncate-lines t) |
| 363 | (setq image-type "text")) | 363 | (setq image-type "text")) |
| 364 | (image-mode-setup-winprops) | ||
| 364 | (add-hook 'change-major-mode-hook (lambda () (image-minor-mode -1)) nil t) | 365 | (add-hook 'change-major-mode-hook (lambda () (image-minor-mode -1)) nil t) |
| 365 | (message "%s" (concat (substitute-command-keys | 366 | (message "%s" (concat (substitute-command-keys |
| 366 | "Type \\[image-toggle-display] to view the image as ") | 367 | "Type \\[image-toggle-display] to view the image as ") |