From 6eaad22a37843a3e6466c04688ec95acb42cc26e Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Wed, 22 Dec 2010 22:49:27 +0000 Subject: [PATCH] Check for clear-image-cache before using it * lisp/org.el (org-display-inline-images): Check for clear-image-cache before using it. --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index c94cb5f24..e190b84d2 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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)