org.el (org-remove-inline-images): Call `clear-image-cache'.

This commit is contained in:
Russell Adams 2010-05-20 21:45:15 -04:00 committed by John Wiegley
parent baaf431f85
commit 0c42220ca0
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2010-05-20 Russell Adams <RLAdams@AdamsInfoServ.Com>
* org.el (org-remove-inline-images): Call `clear-image-cache'.
2010-05-20 Bastien Guerry <bzg@altern.org>
* org-timer.el (org-timer-default-timer): New variable.

View File

@ -15723,6 +15723,7 @@ BEG and END default to the buffer boundaries."
(defun org-remove-inline-images ()
"Remove inline display of images."
(interactive)
(clear-image-cache)
(mapc 'delete-overlay org-inline-image-overlays)
(setq org-inline-image-overlays nil))