Matt Lundin writes: > Since the commit c25165c25dc9fdb5b57b3c66b2e0ec0efdbeb7ad on August 18, > I can only call this function when I am beneath the first level heading > of an org-mode file. Otherwise I receive the following error: Here's a patch that allows one to call (org-refile t) in a non org-mode buffer without resulting in an error.