From 14f05b44615df6c36691fbdcaa08d635258c0c92 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Thu, 1 Jul 2010 15:43:43 +0200 Subject: [PATCH] Capture: Fix bug in file+function target specification * lisp/org-capture.el (org-capture-set-target-location): Fix file+function interpretation. --- lisp/org-capture.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)