Преглед на файлове

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

Russell Adams преди 15 години
родител
ревизия
0c42220ca0
променени са 2 файла, в които са добавени 5 реда и са изтрити 0 реда
  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))