branch: externals-release/org
commit 1003494111fc273f434d573f5032bd3eedb0faeb
Author: Ihor Radchenko <yanta...@posteo.net>
Commit: Ihor Radchenko <yanta...@posteo.net>

    org-manua: Fix deprecated capture template element in an example
    
    * doc/org-manual.org (Capture templates): Do not use obsolete
    file+datetree target in the example.
    
    Reported-by: Alyssa Ross <h...@alyssa.is>
    Link: https://orgmode.org/list/877bzc62h7....@alyssa.is
---
 doc/org-manual.org | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/org-manual.org b/doc/org-manual.org
index 18e1788519..e55f121669 100644
--- a/doc/org-manual.org
+++ b/doc/org-manual.org
@@ -7920,7 +7920,7 @@ configuration would look like:
 (setq org-capture-templates
       '(("t" "Todo" entry (file+headline "~/org/gtd.org" "Tasks")
          "* TODO %?\n  %i\n  %a")
-        ("j" "Journal" entry (file+datetree "~/org/journal.org")
+        ("j" "Journal" entry (file+olp+datetree "~/org/journal.org")
          "* %?\nEntered on %U\n  %i\n  %a")))
 #+end_src
 

Reply via email to