home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


UNIX Power Tools

UNIX Power ToolsSearch this book
Previous: 4.3 Organizing Nonexecutable Scripts Chapter 4
Organizing Your Home Directory
Next: 4.5 Private (Personal) Directories
 

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


Previous: 4.3 Organizing Nonexecutable Scripts UNIX Power Tools Next: 4.5 Private (Personal) Directories
4.3 Organizing Nonexecutable Scripts Book Index 4.5 Private (Personal) Directories

The UNIX CD Bookshelf Navigation The UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System