mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 21:07:54 +00:00
5265153fc5
* doc/org-manual.org: Add target spec format for function and symbol for headline and olp. * etc/ORG-NEWS: Announce the updated options for `org-capture-templates'. * lisp/org-capture.el (org-capture-templates): Update customization type for `file+headline', `file+olp', and `file+olp+datetree' targets, and update docstring. (org-capture-expand-headline): Define a new function that computes headline string from target spec. (org-capture-expand-olp): Define a new function that computes olp list from target spec. (org-capture-set-target-location): Use `org-capture-expand-headline' to expand headline, and use `org-capture-expand-olp' to expand outline path. * testing/lisp/test-org-capture.el (test-org-capture/entry): Add tests for at most three different kinds of target for `file+headline', `file+olp', and `file+olp+datetree'. (test-org-capture/org-capture-expand-olp): Add tests for `org-capture-expand-olp'. |
||
---|---|---|
.. | ||
.aspell.org.conf | ||
.nosearch | ||
dir | ||
doc-setup.org | ||
Documentation_Standards.org | ||
fdl.org | ||
htmlxref.cnf | ||
Makefile | ||
org-guide.org | ||
org-manual.org | ||
orgcard.tex | ||
pdflayout.sty | ||
texinfo.tex |