🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #1747

Re: using Emacs & Epoch

#1747
From: Bill Westphal
Date: Wed, 16 Oct 1991 09:25
32 lines
1662 bytes
In article <9110151840.AA18572@banach.math.ep.utexas.edu> jerry@math.ep.utexas.EDU (Jerry) writes:

  | This sounds like it's probably a FAQ, but I use both Emacs & Epoch and
  |  would like to be able to know if am I running Emacs, so that I don't
  |  load Epoch stuff with the inevitable "error in init file."  Is there
  |  an easy way to do this? (e.g., maybe a .epoch file and a .emacs file
  |  could coexist & Epoch would know to load the correct one)  Is there
  |  code I should insert in my .emacs that will conditionally load the
  |  correct elisp files?  Thanks.


Try this in .emacs:

    (defvar running-epoch (boundp 'epoch::version))

    (if running-epoch
      (progn  

	.

    [epoch specific stuff here]
	.
	.

      )
    )

--
William Westphal	Dept of Electrical Engineering & Computer Science
wjw@eecs.nwu.edu	Northwestern University
708-491-8140		Evanston, IL
Technical Details
Message-ID: <WJW.91Oct16102546@valhalla.eecs.nwu.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!wupost!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!nucsrl!delta!wjw
References: <9110151840.AA18572@banach.math.ep.utexas.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,9cc35a06d0591de3
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1991-10-17 04:32:09 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!wupost!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!nucsrl!delta!wjw
From: wjw@eecs.nwu.edu (Bill Westphal)
Newsgroups: gnu.epoch.misc
Subject: Re: using Emacs & Epoch
Message-ID: <WJW.91Oct16102546@valhalla.eecs.nwu.edu>
Date: 16 Oct 91 09:25:45 GMT
References: <9110151840.AA18572@banach.math.ep.utexas.edu>
Sender: news@eecs.nwu.edu (Mr. News)
Distribution: gnu
Organization: EECS Department, Northwestern University, Evanston, Il., USA
Lines: 32
In-Reply-To: jerry@math.ep.utexas.EDU's message of Tue, 15 Oct 1991 18:40:30 GMT