[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] [PATCH] Call org-reveal after refiling
From: |
Bernt Hansen |
Subject: |
[Orgmode] [PATCH] Call org-reveal after refiling |
Date: |
Wed, 15 Apr 2009 22:06:54 -0400 |
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 is a similar change to commit 8fb7354 (Call org-reveal after archiving)
This commit is available at git://git.norang.ca/org-mode for-carsten
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."
--
1.6.3.rc0
- [Orgmode] [PATCH] Call org-reveal after refiling,
Bernt Hansen <=