diff options
author | Bastien Guerry <bzg@altern.org> | 2013-11-06 16:26:49 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2013-11-06 16:26:49 +0100 |
commit | 41755e24ed63077581934a24d62d4017015e57c0 (patch) | |
tree | 4223c750a09317bdf930c52b536aeff2834864b3 | |
parent | 39d22406e486582796807a7398614ab2e80a8d74 (diff) | |
parent | 47b0eec8dc39990731f400640d64ab70a8356ccd (diff) | |
download | org-mode-41755e24ed63077581934a24d62d4017015e57c0.tar.gz |
Merge branch 'maint'
-rw-r--r-- | lisp/org-capture.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org-capture.el b/lisp/org-capture.el index 804539e..39804ac 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -789,14 +789,14 @@ 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))))))) + (call-interactively 'org-refile))))) + (org-capture-finalize))) (defun org-capture-kill () "Abort the current capture process." |