Re: [O] Dynamically creating capture mode templates (solved)

2015-10-09 Thread tenspd137 .
Needed to use backquotes correctly: (setq products '("Firebird" "Ion")) (dolist (product products) (setq org-capture-templates (append org-capture-templates `( (,(substring product 0 1) ,product) (,(concat (substring product 0 1) "t" ) "Todo" ent

[O] Dynamically creating capture mode templates

2015-10-09 Thread tenspd137 .
Hi all - I was hoping someone could help me figure this out. I have the following in a .el file I am loading to create keys for my projects: (setq projects '("Aa" "Bb" "Cc" "Dd") (let (firstLetter) (dolist (project projects firstLetter) (setq firstLetter (substring project 0 1)) (mess