Don't build org-refile-cache if org-refile-use-cache is nil
commit4c6012f831e918dd74b498b18e37fc49410ad925
authorMatt Lundin <mdl@imapmail.org>
Sat, 22 May 2010 03:14:53 +0000 (22 03:14 +0000)
committerJohn Wiegley <johnw@newartisans.com>
Wed, 26 May 2010 20:11:04 +0000 (26 14:11 -0600)
treeb93e1acc873d657a9a55d0758976d06a233cf541
parent8c5f8a4d25591189bb1a4b6fd1db32d1d5b9a373
Don't build org-refile-cache if org-refile-use-cache is nil

The function org-get-refile-targets was building org-refile-cache even
if org-refile-use-cache was set to nil. This caused every refile
attempt to call org-refile-cache-clear and to produce the message
"Refile cache has been cleared."
lisp/org.el