summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Adams <RLAdams@AdamsInfoServ.Com>2010-05-20 21:45:15 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-05-20 18:10:45 -0400
commit0c42220ca025269e39f20191bc3e10d6b55d02ac (patch)
tree178ba30b71c249c5d5284a31e90e3e0373822827
parentbaaf431f8549d227137bf2612b7ac37d8f72e2e0 (diff)
downloadorg-mode-0c42220ca025269e39f20191bc3e10d6b55d02ac.tar.gz
org.el (org-remove-inline-images): Call `clear-image-cache'.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/org.el1
2 files changed, 5 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 57f46f4..c1f9931 100644
--- a/lisp/ChangeLog
+++ b/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.
diff --git a/lisp/org.el b/lisp/org.el
index 83d11c3..2ff54b6 100644
--- a/lisp/org.el
+++ b/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))