bea9fca183
* lisp/org-capture.el (org-capture-set-target-location): Allow `(here)' as a template target in addition to `here'. (org-capture-templates): Update the docstring, describing the new target. * doc/org-manual.org (Template elements): Add `(here)' target documentation * etc/ORG-NEWS (Capture templates now support ~(here)~ as a target): Document the new feature. Templates had no user accessible way to target the current location directly from a capture template. Attempting to directly utilize the behavior accessible through a 0 prefix arg exposed the inconsistent treatment of the `:target` property in `org-capture`. `org-capture-set-target-location` understood that it could be both a symbol and a list, while `org-capture` itself required it to be a list through its use of `car`. This change opts to make `org-capture-set-target-location` more liberal in what it accepts rather than making `org-capture` agree that targets can be lists. This is because the manual implies, especially in the `(clock)' entry, that targets are expected to be lists even if they are meant as specific points. TINYCHANGE |
||
---|---|---|
.. | ||
csl | ||
schema | ||
styles | ||
Makefile | ||
ORG-NEWS |