Hi Bastien, I think you're right, sorry for any inconveniences ;) Bastien writes: > Hi Markus, > > Markus Hauck 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.