diff --git a/lisp/org-capture.el b/lisp/org-capture.el index fb3c06ae8..f12826a3f 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -586,7 +586,7 @@ already gone." ((eq (car target) 'file+function) (set-buffer (org-capture-target-buffer (nth 1 target))) - (funcall (nth 1 target)) + (funcall (nth 2 target)) (setq target-entry-p (and (org-mode-p) (org-at-heading-p)))) ((eq (car target) 'clock)