Check for clear-image-cache before using it

* lisp/org.el (org-display-inline-images): Check for clear-image-cache
before using it.
This commit is contained in:
Dan Davison 2010-12-22 22:49:27 +00:00 committed by Carsten Dominik
parent ca1b251f19
commit 6eaad22a37
1 changed files with 1 additions and 1 deletions

View File

@ -16198,7 +16198,7 @@ BEG and END default to the buffer boundaries."
(interactive "P")
(unless refresh
(org-remove-inline-images)
(clear-image-cache))
(if (fboundp 'clear-image-cache) (clear-image-cache)))
(save-excursion
(save-restriction
(widen)