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

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

How read environment variable in .emacs?


From: Chris Seberino
Subject: How read environment variable in .emacs?
Date: Sat, 16 Feb 2002 16:16:03 -0800
User-agent: Mutt/1.2.5i

I would like to read $DISPLAY in .emacs in a function
to know if emacs is running locally or remotely.

How do I do this???

(I've noticed local  => DISPLAY = :0
              remote => DISPLAY undefined )

Chris
-- 
=======================================================
| Dr. Christian Seberino  || (619) 553-7940  (office) |
| SPAWARSYSCEN 2363       || (619) 553-2836  (fax)    |
| 53560 HULL ST           ||                          |
| SAN DIEGO CA 92152-5001 || address@hidden |
=======================================================



reply via email to

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