🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189228

(setq running-x WHAT_GOES_HERE)

#189228
From: Dale Wyttenbach
Date: Mon, 15 Apr 1991 18:35
17 lines
1094 bytes
I know that I can do this:

(setq running-epoch (boundp 'epoch::version))
(if running-epoch
	...

What I want to know is, how to tell whether or not the current
emacs session is running in the regular tty mode, or if it is
running in its own X-window.

Reply via email and I'll summarize...thanks in advance.

dale
-- 
 Dale Wyttenbach     | We all shine on,
 wytten@cs.umn.edu   | like the moon, the stars and the sun.
                     |                                      --John Lennon
Technical Details
Message-ID: <1991Apr15.183532.6538@cs.umn.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!spool.mu.edu!cs.umn.edu!wytten

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,14162742de981b01,start
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-04-15 16:15:18 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!spool.mu.edu!cs.umn.edu!wytten
From: wytten@umn-cs.cs.umn.edu (Dale Wyttenbach)
Newsgroups: gnu.emacs.help
Subject: (setq running-x WHAT_GOES_HERE)
Message-ID: <1991Apr15.183532.6538@cs.umn.edu>
Date: 15 Apr 91 18:35:32 GMT
Sender: wytten@cs.umn.edu (Dale Wyttenbach)
Organization: University of Minnesota, Minneapolis, CSci dept.
Lines: 17