Thread View: gnu.epoch.misc
2 messages
2 total messages
Started by Jerry
Tue, 15 Oct 1991 18:40
using Emacs & Epoch
Author: Jerry
Date: Tue, 15 Oct 1991 18:40
Date: Tue, 15 Oct 1991 18:40
18 lines
1418 bytes
1418 bytes
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.
***
** | ** Jerry Graves
** | ** Department of Mathematical Sciences
* | * University of Texas at El Paso
* | * El Paso, TX 79968-0514
* /|\ *
* / | \ * PHONE: (915)-747-5761 {ext. 204}
** / | \ ** EMAIL: jerry@math.ep.utexas.edu
** | **
***
Re: using Emacs & Epoch
Author: Bill Westphal
Date: Wed, 16 Oct 1991 09:25
Date: Wed, 16 Oct 1991 09:25
32 lines
1662 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads