Daniel E. Doherty <ded-...@ddoherty.net> wrote: > I have also tried this: > ========================= > (eval-after-load 'org > (progn > (add-to-list 'org-structure-template-alist > '("m" "#+begin_src emacs-lisp\n?\n#+end_src")) > (add-to-list 'org-structure-template-alist > '("j" > "#+begin_quote\n||Dr|Cr|\n|-\n|?|$||\n|||$|\n#+end_quote")))) > ========================= > Which spits out a similar error. I am quoting the list, so I don't > understand why elisp is interpteting it as a function. In the first > case, I even quote it twice. >
I presume that it spits out the error when you try to *use* the template, correct? You can add anything you want to org-structure-template-alist, but if you try to *use* the thing, it'd better have the correct format. In any case, the above (without the call to ``list'') is the correct form, but the elements to add are *three*-element lists: (<key> <standard text> <muse text>). If you don't care about org-mtags (see the doc for org-structure-template-alist), just add an empty string as the third element. Untried but hope it works, Nick