Browse Source

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

Russell Adams 15 years ago
parent
commit
0c42220ca0
2 changed files with 5 additions and 0 deletions
  1. 4 0
      lisp/ChangeLog
  2. 1 0
      lisp/org.el

+ 4 - 0
lisp/ChangeLog

@@ -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.

+ 1 - 0
lisp/org.el

@@ -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))