HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(flyspell-post-command-hook): Do nothing unless flyspell-mode is enabled.
[bpt/emacs.git]
/
lisp
/
image-mode.el
diff --git
a/lisp/image-mode.el
b/lisp/image-mode.el
index
6687ed3
..
8cdf22a
100644
(file)
--- a/
lisp/image-mode.el
+++ b/
lisp/image-mode.el
@@
-1,6
+1,6
@@
;;; image-mode.el --- support for visiting image files
;;
;;; image-mode.el --- support for visiting image files
;;
-;; Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+;; Copyright (C) 2005, 2006, 2007, 2008
, 2009
Free Software Foundation, Inc.
;;
;; Author: Richard Stallman <rms@gnu.org>
;; Keywords: multimedia
;;
;; Author: Richard Stallman <rms@gnu.org>
;; Keywords: multimedia
@@
-332,7
+332,7
@@
to toggle between display as an image and display as text."
(add-hook 'change-major-mode-hook 'image-toggle-display-text nil t)
(if (display-images-p)
(add-hook 'change-major-mode-hook 'image-toggle-display-text nil t)
(if (display-images-p)
- (if (not (
image-get-display-propert
y))
+ (if (not (
get-text-property (point-min) 'displa
y))
(image-toggle-display)
;; Set next vars when image is already displayed but local
;; variables were cleared by kill-all-local-variables
(image-toggle-display)
;; Set next vars when image is already displayed but local
;; variables were cleared by kill-all-local-variables