In the following skeleton definition, I like to have quote characters "
, `
and '
in the generated skeleton code.
For example,
I like to have the effect of
#+NAME:a-function-test
#+BEGIN_SRC clojure
(facts "about `a-function'"
)
#+END_SRC
But I'm only able to do this now:
#+NAME:a-function-test
#+BEGIN_SRC clojure
(facts about a-function
)
#+END_SRC
Here is my current implementation.
#+BEGIN_SRC emacs-lisp :results output :exports none
(define-skeleton tdd-clojure-skeleton
"Define a skeleton "
"function name: "
"#+NAME:" str "-test" " \n"
"#+BEGIN_SRC clojure" " \n"
"(facts " "about " str "\n"
" )" " \n"
"#+END_SRC" " \n"
)
#+END_SRC
Thanks for your help!