autoinsert

Homepage: https://www.gnu.org/software/emacs

Author: Charlie Martin

Summary

Automatic mode-dependent insertion of text into new files

Commentary

The following defines an association list for text to be
automatically inserted when a new file is created, and a function
which automatically inserts these files; the idea is to insert
default text much as the mode is automatically set using
auto-mode-alist.

To use, add this to your Init file:

    (auto-insert-mode t)
    (setq auto-insert-directory "~/some-dir")

You can also customize the variable `auto-insert-mode' to load the
package.

Author:  Charlie Martin
         Department of Computer Science and
         National Biomedical Simulation Resource
         Box 3709
         Duke University Medical Center
         Durham, NC 27710
          (crm@cs.duke.edu,mcnc!duke!crm)

Dependencies

Reverse dependencies