summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dufour <florian.dufour@posteo.net>2020-11-25 11:41:48 +0100
committerKyle Meyer <kyle@kyleam.com>2020-11-27 01:27:30 -0500
commitccf81be2a2887457969e60035c342426d8423ba2 (patch)
tree8ef99e224d34d852ca04b2036cefcc8a92644158
parenta368bf111a096fe371006a5695120891727d1dd0 (diff)
downloadorg-mode-ccf81be2a2887457969e60035c342426d8423ba2.tar.gz
org-capture.el: Add :tree-type 'month' in org-capture-templates description
* lisp/org-capture.el (org-capture-templates): Enhance description and add 'month' value for :tree-type in description. * doc/org-manual.org: Fix typo for displaying 'month' in :tree-type property. TINYCHANGE
-rw-r--r--doc/org-manual.org2
-rw-r--r--lisp/org-capture.el4
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/org-manual.org b/doc/org-manual.org
index 7989d05..aee8da7 100644
--- a/doc/org-manual.org
+++ b/doc/org-manual.org
@@ -7722,7 +7722,7 @@ Now lets look at the elements of a template definition. Each entry in
Use ~week~ to make a week tree instead of the month-day tree,
i.e., place the headings for each day under a heading with the
- current ISO week. Use @code{month} to group entries by month
+ current ISO week. Use ~month~ to group entries by month
only. Default is to group entries by day.
- ~:unnarrowed~ ::
diff --git a/lisp/org-capture.el b/lisp/org-capture.el
index 1e41e42..a9a1181 100644
--- a/lisp/org-capture.el
+++ b/lisp/org-capture.el
@@ -270,7 +270,9 @@ properties are:
:time-prompt Prompt for a date/time to be used for date/week trees
and when filling the template.
- :tree-type When `week', make a week tree instead of the month tree.
+ :tree-type When `week', make a week tree instead of the month-day
+ tree. When `month', make a month tree instead of the
+ month-day tree.
:unnarrowed Do not narrow the target buffer, simply show the
full buffer. Default is to narrow it so that you