|Subject:||Re: Installing matlab mode under Windows XP|
|Date:||Mon, 20 Nov 2006 14:50:24 -0600|
On Nov 20, 2006, at 8:20 AM, address@hidden wrote:
First, there an emacs variable called load-path. It is a list of directories emacs searches when a load is done. What I do myself is I have all my emacs lisp in a directory called emacs. Then in my .emacs file I do:
(setq load-path (append load-path (list "~/emacs")))
If you keep things in separate sub directories, then the list will be the list of all the places emacs needs to look in.
I believe there is a slicker way to do this.
Second, most packages come with some instructions. You generally do not want to always load all of the contents of all of the packages. Usually, there are some key functions that are always called first. You set these in autoload statements. A typical statement looks like:
(autoload 'vm "vm" "Start VM on your primary inbox." t)
The package will usually tell you want autoload statements to put in your .emacs file.
|[Prev in Thread]||Current Thread||[Next in Thread]|