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:
parent
e9927a6d2b
commit
14f05b4461
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue