diff options
author | Dan Davison <dandavison7@gmail.com> | 2010-12-22 22:49:27 +0000 |
---|---|---|
committer | Carsten Dominik <carsten.dominik@gmail.com> | 2010-12-23 08:36:42 +0100 |
commit | 6eaad22a37843a3e6466c04688ec95acb42cc26e (patch) | |
tree | ecb1a6d943f58d70bb4b56ad895d947818e44baf | |
parent | ca1b251f19f416138347afeb31ab3836232ff8c6 (diff) | |
download | org-mode-6eaad22a37843a3e6466c04688ec95acb42cc26e.tar.gz |
Check for clear-image-cache before using it
* lisp/org.el (org-display-inline-images): Check for clear-image-cache
before using it.
-rw-r--r-- | lisp/org.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index c94cb5f..e190b84 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) |