Restore old visibility behaviour of org-refile

This commit is contained in:
Ihor Radchenko 2022-01-16 15:39:56 +08:00
parent 17e762426d
commit e8d8db63a0
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 1 additions and 0 deletions

View File

@ -547,6 +547,7 @@ prefix argument (`C-u C-u C-u C-c C-w')."
(goto-char (point-min))
(or (outline-next-heading) (goto-char (point-max)))))
(unless (bolp) (newline))
(org-fold-reveal)
(org-paste-subtree level nil nil t)
;; Record information, according to `org-log-refile'.
;; Do not prompt for a note when refiling multiple