[ESS] Ess-source-directory in windows

Seth Falcon sfalcon at fhcrc.org
Tue Jun 21 15:45:23 CEST 2005

On 20 Jun 2005, timh at insightful.com wrote:
> Early in my .emacs, I define some variables that indicate which
> system I'm working on:
> (if (or (equal system-name "TIMH-2K")
> 	(equal system-name "HESTERBERG-XP")) (prog1
> (setq atUnix nil) (setq atWorkPC t) )) (if (equal system-name
> "HESTERBERGLAPTO") (prog1 (setq atUnix nil) (setq atHome t) )) (setq
> atPC (or atHome atWorkPC)) ; true if either atHome or atWorkPC

I'm drifting off topic, but you might find the system-type
built-in variable useful.  For example, I have:

 ((equal system-type 'gnu/linux)
  (load "linux-config" t))
 ;; and so on

+ seth

More information about the ESS-help mailing list