On Thu, Aug 19, 2010 at 5:26 PM, Magnus Henoch <magnus.hen...@gmail.com> wrote:
> Gustav Wikström <gustav.e...@gmail.com> writes:
>
>> (setq org-capture-templates
>>       '(("n" "Note" entry (file my-gtd-inbox-file)
>> "* %?\n %i\n %a")
>>  ("j" "Journal" entry (file+datetree my-gtd-journal-file)
>>      "* %?\nEntered on %U\n %i\n %a")))
>
> Backquotes and commas are your friends:

Thanks! I didn't know this.

>
> (setq org-capture-templates
>      `(("n" "Note" entry (file ,my-gtd-inbox-file)
> "* %?\n %i\n %a")
>  ("j" "Journal" entry (file+datetree ,my-gtd-journal-file)
>     "* %?\nEntered on %U\n %i\n %a")))
>
> Read more at
> http://www.gnu.org/s/emacs/manual/html_node/elisp/Backquote.html .
>
> Magnus
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>



-- 
Puneeth

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to