image-mode fix for bug#8567.

* image-mode.el (image-after-revert-hook):
Redraw all frames on which the image is visible.
This commit is contained in:
Glenn Morris 2011-05-20 19:09:49 -07:00
parent e5638bc123
commit 637d46ca18
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2011-05-21 Glenn Morris <rgm@gnu.org>
* image-mode.el (image-after-revert-hook):
Redraw all frames on which the image is visible. (Bug#8567)
* dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
* wid-edit.el (widget-checklist-match-inline):

View file

@ -532,7 +532,8 @@ the image by calling `image-mode'."
(when (image-get-display-property)
(image-toggle-display-text)
;; Update image display.
(redraw-frame (selected-frame))
(mapc (lambda (window) (redraw-frame (window-frame window)))
(get-buffer-window-list (current-buffer) 'nomini 'visible))
(image-toggle-display-image)))