1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-28 10:56:57 +00:00

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

View File

@ -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)