aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2011-05-20 19:09:49 -0700
committerGlenn Morris2011-05-20 19:09:49 -0700
commit637d46ca189f511ca1e5385700c168f6912568ea (patch)
treeb079078ac7011d8ed843a0470bf5052e4d9cafbe
parente5638bc123e8c4c2f542af953410432126ce3fc5 (diff)
downloademacs-637d46ca189f511ca1e5385700c168f6912568ea.tar.gz
emacs-637d46ca189f511ca1e5385700c168f6912568ea.zip
image-mode fix for bug#8567.
* image-mode.el (image-after-revert-hook): Redraw all frames on which the image is visible.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/image-mode.el3
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c5a232e0ec3..3ea95bda944 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12011-05-21 Glenn Morris <rgm@gnu.org> 12011-05-21 Glenn Morris <rgm@gnu.org>
2 2
3 * image-mode.el (image-after-revert-hook):
4 Redraw all frames on which the image is visible. (Bug#8567)
5
3 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887) 6 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
4 7
5 * wid-edit.el (widget-checklist-match-inline): 8 * wid-edit.el (widget-checklist-match-inline):
diff --git a/lisp/image-mode.el b/lisp/image-mode.el
index 17f006e81a1..f4eb5eeaf45 100644
--- a/lisp/image-mode.el
+++ b/lisp/image-mode.el
@@ -532,7 +532,8 @@ the image by calling `image-mode'."
532 (when (image-get-display-property) 532 (when (image-get-display-property)
533 (image-toggle-display-text) 533 (image-toggle-display-text)
534 ;; Update image display. 534 ;; Update image display.
535 (redraw-frame (selected-frame)) 535 (mapc (lambda (window) (redraw-frame (window-frame window)))
536 (get-buffer-window-list (current-buffer) 'nomini 'visible))
536 (image-toggle-display-image))) 537 (image-toggle-display-image)))
537 538
538 539