Hi Markus, Markus Hauck <markus1...@gmail.com> writes:
> It seems like org-refile with the goto argument is no longer allowed > From non org-mode buffers. I reverted your patch. > In commit 49da67d the condition was changed from: > > (unless goto ...) > > to: > > (unless (and goto (listp goto)) ...) > > where the condition of unless is only true for non-empty lists. That's in fact on purpose. If you want to use org-refile to go to a location, use (org-refile '(4)), the '(4) emulates the universal prefix argument. Note that With your patch, the prompt for org-refile (as (org-refile nil)) was asking "Goto: " because (listp nil) is `t'. Let me know if I missed something. -- Bastien