From 323152fee7c8fbc6174969e856de99280bf5086a Mon Sep 17 00:00:00 2001 From: Eric Danan Date: Fri, 22 Dec 2017 16:56:50 +0100 Subject: [PATCH] Expand docstring of cp-org-capture-templates --- counsel-projectile.el | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/counsel-projectile.el b/counsel-projectile.el index 11a743f..733cf0c 100644 --- a/counsel-projectile.el +++ b/counsel-projectile.el @@ -560,12 +560,17 @@ The default value contains a single template, whose target is: This points to headline \"Tasks\" in file \"notes.org\" in the project root directory (one file per project). -Another example of a valid target is: +Two other examples of valid targets are: + \(file+headline \"${root}/${name}.org}\" \"Tasks\"\) \(file+olp \"~/notes.org\" \"${root}\" \"Tasks\"\) -This points to outline path \"/Tasks\" in file -\"~/notes.org\" (same file for all projects)." +The first one is similar to the default value's target, except +that the file is named after the project name (this can be handy +if you use org-mode's agenda since the project name is then +displayed as category). The second one points to outline path +\"/Tasks\" in file \"~/notes.org\" (same file for +all projects)." :type ;; copied from `org-capture-templates' (let ((file-variants '(choice :tag "Filename " (file :tag "Literal")