Sams Teach Yourself Emacs in 24 Hours |  | ContentsIndex
Appendix A: Installing Functions and Packages from the CD |  | Previous HourNext Chapter
Sections in this Hour: |  |

## template.el

In Hour 4, the package template by Christoph Wedler is discussed. To install it, copy the template.el file from the lisp subdirectory to your lisp directory. Create the directory ~/lib/templates and copy the files from the templates subdirectory to this one, or create your own in this directory. You can find it under the /opt/share/emacs-lisp/ packages/ directory.

Insert the following to your .emacs file to make it do its job:

    (require 'template)
    (template-initialize)

For further example of its use, you may wish to look at the examples in the examples subdirectory.

Sams Teach Yourself Emacs in 24 Hours |  | ContentsIndex
Appendix A: Installing Functions and Packages from the CD |  | Previous HourNext Chapter
Sections in this Hour: |  |

© Copyright Macmillan USA. All rights reserved.