Work for me too, thanks for the quick fix!
Cheers
Chris.
Thanks for doing the testing.
- Carsten
On Oct 21, 2010, at 8:29 PM, John Rakestraw wrote:
Hi, Carsten --
On Thu, 21 Oct 2010, Carsten Dominik wrote:
Hi Christopher,
thank you for taking the time to isolate this bug. Could
you please try the following patch?
Your patch seems to fix the problem.
Thanks --
John
Thanks.
- Carsten
Modified lisp/org-capture.el
diff --git a/lisp/org-capture.el b/lisp/org-capture.el
index 7915f7f..537f1a4 100644
--- a/lisp/org-capture.el
+++ b/lisp/org-capture.el
@@ -548,6 +548,7 @@ already gone."
(unless (eq (org-capture-get :type 'local) 'entry)
(error
"Refiling from a capture buffer makes only sense for `entry'-
type templates"))
+ (if (and (bolp) (eobp)) (backward-char 1))
(let ((pos (point))
(base (buffer-base-buffer (current-buffer)))
(org-refile-for-capture t))
--
John Rakestraw
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode