🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #1816

Re: Loading lisp-code in a central spot

#1816
From: Alan M. Carroll
Date: Wed, 31 Jul 1991 02:00
25 lines
1748 bytes
In article <9107261058.AA11274@bosun.ericsson.se>, ebcjp@bosun.ericsson.SE (BO/EBC/KX/RGD Joachim Pierre 08-682 4637) writes:
> Sorry if this is a FAQ which I think it is.
> 
> How do we load lisp-code into epoch so that everyone can use it?
> Not updating everyone's .emacs or recompiling epoch?

This depends on whether you want everyone to always load the code, or
simply have it available. If the format, then you should load it in
the site-init.el file in the ./lisp directory, and then redump Epoch.

If you just want it available to people who wish to load it, create a
directory somewhere, and put the code there. Then, in site-init.el put
a line like

(setq load-path (cons "<full patch of the directory you created>" load-path))

This will add that directory to the list of directories to search when
loading files.

If this isn't clear, send me email.

-- 
Alan M. Carroll          <-- Another casualty of applied metaphysics
Epoch Development Team   
Urbana Il.               "I hate shopping with the reality-impaired" - Susan
Technical Details
Message-ID: <1991Jul31.020025.5309@m.cs.uiuc.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!wupost!m.cs.uiuc.edu!uiucdcs!carroll
References: <9107261058.AA11274@bosun.ericsson.se>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,cad6b641507f9cd1
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1991-07-31 01:35:04 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!wupost!m.cs.uiuc.edu!uiucdcs!carroll
From: carroll@cs.uiuc.edu (Alan M. Carroll)
Newsgroups: gnu.epoch.misc
Subject: Re: Loading lisp-code in a central spot
Message-ID: <1991Jul31.020025.5309@m.cs.uiuc.edu>
Date: 31 Jul 91 02:00:25 GMT
References: <9107261058.AA11274@bosun.ericsson.se>
Sender: news@m.cs.uiuc.edu (News Database (admin-Mike Schwager))
Distribution: gnu
Organization: Technophiles Inc. - Engineers with Attitude
Lines: 25
Nntp-Posting-Host: ash.cs.uiuc.edu