help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to customize load-path in v21.2.1?


From: Michael Slass
Subject: Re: How to customize load-path in v21.2.1?
Date: Tue, 29 Oct 2002 17:32:51 GMT
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Da Witch <heather710101@yahoo.com> writes:

>The transition from 20.7.2 to 21.2.1 is turning out to be painful...
>
>How do I customize load-path in 21.2.1?  describe-variable suggests
>that it is no longer customizable...
>
>hk
>

I'm not sure why it's not customizeable any more, but here's one way
to do it programmatically.

(mapcar
 (lambda (dir)
   (add-to-list 'load-path dir))
 ;; these directories get added to the front of the load-path
 '("/path/to/dir"
   "/path/to/another/dir"
   ;; add more load-path directories here
   ))



(mapcar
 (lambda (dir)
   (add-to-list 'load-path dir t))
 ;; these directories get added to the end of the load-path
 '("/path/to/yet/another/dir"
   "/path/to/still/another/dir"
   ;; add more load-path directories here
   ))

  


-- 
Mike Slass


reply via email to

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