Function: org-plot/redisplay-img-in-buffer
org-plot/redisplay-img-in-buffer is a byte-compiled function defined
in org-plot.el.gz.
Signature
(org-plot/redisplay-img-in-buffer IMG-FILE)
Documentation
Find any overlays for IMG-FILE in the current Org buffer, and refresh them.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-plot.el.gz
(defun org-plot/redisplay-img-in-buffer (img-file)
"Find any overlays for IMG-FILE in the current Org buffer, and refresh them."
(dolist (img-overlay org-inline-image-overlays)
(when (string= img-file (plist-get (cdr (overlay-get img-overlay 'display)) :file))
(when (and (file-exists-p img-file)
(fboundp 'image-flush))
(image-flush (overlay-get img-overlay 'display))))))