jck@WHEATIES.AI.MIT.EDU (Jeff Koechling) (02/27/89)
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.
jr@bbn.com (John Robinson) (02/28/89)
In article <8902271447.AA00929@quadriceps.ai.mit.edu>, jck@WHEATIES (Jeff Koechling) writes: > >There should be a lisp function or variable that indicates whether or >not emacs has x-windows. (eq window-system 'x) will do it. documentation: window-system's value is x Documentation: A symbol naming the window-system under which Emacs is running, (such as `x'), or nil if emacs is running on an ordinary terminal. -- /jr jr@bbn.com or bbn!jr