Call org-reveal after refiling

Sometimes refiling a task displays the next task heading after ... at the
end of a folded task.  This keeps the next task the cursor is on starting
in column 1 which feels more natural.
This commit is contained in:
Bernt Hansen 2008-12-02 15:25:45 -05:00 committed by Carsten Dominik
parent cf52dd44bc
commit a30955b050
1 changed files with 2 additions and 1 deletions

View File

@ -8336,7 +8336,8 @@ See also `org-refile-use-outline-path' and `org-completion-use-ido'"
(delete-region (point) (+ (point) region-length))
(org-cut-subtree))
(setq org-markers-to-move nil)
(message "Refiled to \"%s\"" (car it)))))))
(message "Refiled to \"%s\"" (car it))))))
(org-reveal))
(defun org-refile-goto-last-stored ()
"Go to the location where the last refile was stored."