You want command emacs
, not builtin emacs
. See help command
.
As an aside, doesn't emacs
have some sort of internal support for new-file templates? You might want to take a look at this: http://www.emacswiki.org/emacs/TemplatesMode. (Disclaimer: I don't use emacs
; this was just one of the first pages I found while searching for "emacs new file template.)