Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!aramis.rutgers.edu!athos.rutgers.edu!mende From: mende@athos.rutgers.edu (Bob Mende) Newsgroups: comp.emacs Subject: Re: x-switches Message-ID: <190@athos.rutgers.edu> Date: Tue, 10-Nov-87 19:55:10 EST Article-I.D.: athos.190 Posted: Tue Nov 10 19:55:10 1987 Date-Received: Fri, 13-Nov-87 03:02:09 EST References: <8711101539.AA06589@decwrl.dec.com> <2899@sigi.Colorado.EDU> Organization: Rutgers Univ., New Brunswick, N.J. Lines: 20 To: hartzell@boulder.Colorado.EDU In article <2899@sigi.Colorado.EDU> hartzell@boulder.Colorado.EDU (George Hartzell) writes: > ... Can anyone let me know how to conditionally load > my X stuff in my .emacs depending on whether I am in an X window or an > ascii terminal? > g. Look at the variable window-system. This is in Ver 18.47 and I assume earlyer... it contains the name of the window system that emacs is invoked under... if you are running emacs in an xterm without the X interface then this should not be set... test this variable and then do do what you like if it is X. /Bob -- mende@rutgers.edu {...}!rutgers!mende mende@zodiac.bitnet On the other hand, life can be an endless parade of TRANSSEXUAL QUILTING BEES aboard a cruise ship to DISNEYWORLD if only we let it!!