[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Load-path

From: sen_ml
Subject: Re: Load-path
Date: Thu, 14 Dec 2000 16:21:13 +0900 (JST)

From: "Kalyan K. Mukherjea  " <>
Subject: Load-path
Date: Thu, 14 Dec 2000 17:45:43 +0530 (IST)

>       I have recently got hold of some very nice packages (at least,
> they sound nice) from the internet. Can I put them in a directory like
> ~/new-packages and get emacs to load them at start up: putting  them in
> the site-lisp directory seems unwise, since any move to a newer version
> will clobber these.
>       Could someone suggest what to put in my .emacs file to achieve my
> aims.

  i almost thought you were joking as your subject line points you
pretty close to what you need -- the load-path variable.

  one way to achieve want you want might be to put the following in your

    (setq load-path 
          (cons (expand-file-name "~/new-packages") load-path))

  another way might be to use M-x customize-variable and specify the
load-path variable.

p.s. depending on the nature of the packages you have obtained, this
may not be enough -- some packages have a set of instructions to be
followed before use.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]