@kbd{M-x auto-insert} will put some predefined text at the beginning of
the buffer. The main application for this function, as its name suggests,
is to have it be called automatically every time an empty, and only an
-empty file is visited. This is accomplished by putting @code{(add-hook
-'find-file-hook 'auto-insert)} into your @file{~/.emacs} file
+empty file is visited. This is accomplished by putting
+@code{(auto-insert-mode t)} into your init file
(@pxref{Init File,,, emacs, The GNU Emacs Manual}).
@vindex auto-insert-alist
include of the header. Makefiles insert the file makefile.inc if it exists.
TeX and bibTeX mode files insert the file tex-insert.tex if it exists, while
-LaTeX mode files insert a typical @code{\documentclass} frame. Html
+LaTeX mode files insert a typical @code{\documentclass} frame. HTML
files insert a skeleton with the usual frame.
- Ada mode files call the Ada header skeleton command. Emacs lisp
+ Ada mode files call the Ada header skeleton command. Emacs Lisp
source files insert the usual header, with a copyright of your
-environment variable @env{$ORGANIZATION} or else the FSF, and prompt
-for valid keywords describing the contents. Files in a @file{bin}
-directory for which Emacs could determine no specialized mode
-(@pxref{Choosing Modes,,, emacs, The GNU Emacs Manual}) are set to Shell script mode.
+environment variable @env{$ORGANIZATION} or else the name of the
+current user, and prompt for valid keywords describing the contents.
+Files in a @file{bin} directory for which Emacs could determine no
+specialized mode (@pxref{Choosing Modes,,, emacs, The GNU Emacs
+Manual}) are set to Shell script mode.
@findex define-auto-insert
In Lisp (@pxref{Init File,,, emacs, The GNU Emacs Manual}) you can use the function