[Chapter 4] 4.4 Directories for Emacs Hacks
Author: Jerry Peek, Tim O'Reilly & Mike Loukides
Date: 1998-08-04T21:32:42Z

#

| Chapter 4 Organizing Your Home Directory |

## 4.4 Directories for Emacs Hacks

If you use any Emacs (32.1) editor (GNU Emacs or any of the commercial alternatives), you may have written lots of handy LISP programs for use while you're editing. It's convenient to create a separate directory for these; a good name for this directory is (obviously) emacs; it's usually located in your home directory.

If you use GNU Emacs, you should put the following line in the .emacs file:

>     (setq load-path (append load-path '("your-emacs-directory")))

This tells Emacs that it should look in your personal Emacs directory to find your programs. (It's similar to the PATH (6.4) environment variable.)

- ML

4.3 Organizing Nonexecutable Scripts |  | 4.5 Private (Personal) Directories