Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!WHEATIES.AI.MIT.EDU!jck From: jck@WHEATIES.AI.MIT.EDU (Jeff Koechling) Newsgroups: gnu.emacs.bug Subject: x-windowsp function or variable Message-ID: <8902271447.AA00929@quadriceps.ai.mit.edu> Date: 27 Feb 89 14:47:34 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 7 There should be a lisp function or variable that indicates whether or not emacs has x-windows. Specifically, I want to execute (x-set-bell 1) in .emacs, but if I do that and I'm not running under x, I get an error and abort processing of the init file. Vxterm isn't defvar'ed, so I can't use that.