Capture: Fix bug in file+function target specification

* lisp/org-capture.el (org-capture-set-target-location): Fix
file+function interpretation.
This commit is contained in:
Carsten Dominik 2010-07-01 15:43:43 +02:00
parent e9927a6d2b
commit 14f05b4461
1 changed files with 1 additions and 1 deletions

View File

@ -586,7 +586,7 @@ already gone."
((eq (car target) 'file+function) ((eq (car target) 'file+function)
(set-buffer (org-capture-target-buffer (nth 1 target))) (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)))) (setq target-entry-p (and (org-mode-p) (org-at-heading-p))))
((eq (car target) 'clock) ((eq (car target) 'clock)