🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189240

SUMMARY Re: (setq running-x WHAT_GOES_HERE)

#189240
From: Dale Wyttenbach
Date: Tue, 16 Apr 1991 19:36
16 lines
1171 bytes
In <1991Apr15.183532.6538@cs.umn.edu> I wrote:
>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.

Several kind people filled me in:
(setq running-x (eq window-system 'x))

Thanks to everyone who responded! (I haven't gotten around to personal
replies yet, but I intend to)

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: <1991Apr16.193613.23994@cs.umn.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!bu.edu!spdcc!mintaka!think.com!spool.mu.edu!cs.umn.edu!wytten
References: <1991Apr15.183532.6538@cs.umn.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,14162742de981b01
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-04-17 00:10:16 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!bu.edu!spdcc!mintaka!think.com!spool.mu.edu!cs.umn.edu!wytten
From: wytten@cs.umn.edu (Dale Wyttenbach)
Newsgroups: gnu.emacs.help
Subject: SUMMARY Re: (setq running-x WHAT_GOES_HERE)
Message-ID: <1991Apr16.193613.23994@cs.umn.edu>
Date: 16 Apr 91 19:36:13 GMT
References: <1991Apr15.183532.6538@cs.umn.edu>
Organization: University of Minnesota, Minneapolis, CSci dept.
Lines: 16