diff --git a/lisp/org.el b/lisp/org.el index 7a68b73..ccdcace 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -10625,7 +10625,8 @@ prefix argument (`C-u C-u C-u C-c C-w')." (t (concat "Refile subtree \"" heading-text "\" to"))) default-buffer - org-refile-allow-creating-parent-nodes + (and (not (equal '(4) goto)) + org-refile-allow-creating-parent-nodes) goto)))))) (setq file (nth 1 it) re (nth 2 it)