diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2008-08-29 05:14:17 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2008-08-29 05:14:17 +0000 |
commit | ad5a649e8f759036c6548a695c0701d45c5fe944 (patch) | |
tree | 0a848dccb322956f010ee537689da8a34382a8dc /lisp/image-mode.el | |
parent | de4b26b7c0d5bf282bce15a5d90a33ef49fc2352 (diff) | |
download | emacs-ad5a649e8f759036c6548a695c0701d45c5fe944.tar.gz |
(image-mode): Fix 2008-07-19 change.
Diffstat (limited to 'lisp/image-mode.el')
-rw-r--r-- | lisp/image-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/image-mode.el b/lisp/image-mode.el index b903d497ec0..4abef663eb0 100644 --- a/lisp/image-mode.el +++ b/lisp/image-mode.el @@ -209,7 +209,7 @@ to toggle between display as an image and display as text." (setq major-mode 'image-mode) (add-hook 'change-major-mode-hook 'image-toggle-display-text nil t) (if (display-images-p) - (if (not (image-get-display-property)) + (if (not (get-text-property (point-min) 'display)) (image-toggle-display) ;; Set next vars when image is already displayed but local ;; variables were cleared by kill-all-local-variables |