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:

(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

Reply via email to