Open nicferrier opened 12 years ago
We talked on #emacs
this last one needs some explanation:
(defun elisp-template-thing () (call-interactively 'terrible-template-insert)) (add-hook 'emacs-lisp-mode-hook 'elisp-template-thing)
this is great but I'd always want to use the same template.
It would be ideal to say:
(defun elisp-template-thing () (let ((terrible-template-name "elisp-template")) (call-interactively 'terrible-template-insert))) (add-hook 'emacs-lisp-mode-hook 'elisp-template-thing)
and then the template would default to using "elisp-template".
These changes would make it very usable.
I have pushed the fix to prompt the user for variables in order. I will consider the default idea in question, I do not know how I might want to support the default template stuff you also suggested.
We talked on #emacs
this last one needs some explanation:
this is great but I'd always want to use the same template.
It would be ideal to say:
and then the template would default to using "elisp-template".
These changes would make it very usable.