diff --git a/lisp/org-capture.el b/lisp/org-capture.el index 67dc319..d60929d 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -793,14 +793,15 @@ already gone. Any prefix argument will be passed to the refile command." (let ((pos (point)) (base (buffer-base-buffer (current-buffer))) (org-refile-for-capture t)) + (org-capture-finalize)) (save-window-excursion (with-current-buffer (or base (current-buffer)) (save-excursion (save-restriction (widen) (goto-char pos) - (call-interactively 'org-refile))))) - (org-capture-finalize))) + (call-interactively 'org-refile)))))) + (defun org-capture-kill () "Abort the current capture process."