Gentlemen:
For the record, I combined Carsten and Nick's suggestion, so here is
what I now have in my init file, and it works:
#+begin_src emacs-lisp
(eval-after-load 'org
'(progn
(add-to-list 'org-structure-template-alist
'("m" "#+begin_src emacs-lisp\n?\n#+end_sr
On May 23, 2012, at 3:28 PM, Carsten Dominik wrote:
> Hi Daniel,
>
> you need to quote the entire form, i.e. the progn;
>
> (eval-after-load 'org
> '(progn
> (add-to-list 'org-structure-template-alist
> '("m" "#+begin_src emacs-lisp\n?\n#+end_src"))
> (add-to-list 'or
Daniel E. Doherty 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
>
Hi Daniel,
you need to quote the entire form, i.e. the progn;
(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\
All,
I really like the Easy Template facility, and would like to add some of
my own. However, I am having trouble with the elisp syntax. I would
like to add a couple in my init file, but am having no luck. Here is
what I have now:
=
(eval-after-load 'org
(progn