瀏覽代碼

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