Allow file names in capture templates to be functions, forms, or variables
commitc654620d73608e31ec0782029c79c3b26e36b3f6
authorCarsten Dominik <carsten.dominik@gmail.com>
Tue, 22 Feb 2011 09:04:00 +0000 (22 10:04 +0100)
committerCarsten Dominik <carsten.dominik@gmail.com>
Tue, 22 Feb 2011 09:10:22 +0000 (22 10:10 +0100)
tree617b3a42404dab049a5bc9701b6bc112f6417cbf
parent1e35a5ea37194d686f432d384f4e264498ca6294
Allow file names in capture templates to be functions, forms, or variables

* lisp/org-capture.el (org-capture-expand-file): New function.
(org-capture-target-buffer):
(org-capture-set-target-location): Use `org-capture-expand-file'.

* doc/org.texi (Template elements): Document that files can be given
as function, form, or variable.
doc/org.texi
lisp/org-capture.el