diff options
author | Bernt Hansen <bernt@norang.ca> | 2008-12-02 15:25:45 -0500 |
---|---|---|
committer | Carsten Dominik <carsten.dominik@gmail.com> | 2009-04-16 06:01:50 +0200 |
commit | a30955b050983044b3bd08e9d16e26579003b44c (patch) | |
tree | 886a73fc31f9b5a1dd53bb6c7225cf087b7bb613 | |
parent | cf52dd44bce4d8f4973d4cae25bbd092e4ff30c6 (diff) | |
download | org-mode-a30955b050983044b3bd08e9d16e26579003b44c.tar.gz |
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.
-rw-r--r-- | lisp/org.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index af2c97c..7af1637 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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." |