help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: check whether emacs session is running under local X server


From: Roland Winkler
Subject: Re: check whether emacs session is running under local X server
Date: Thu, 28 Sep 2006 01:44:44 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Eric Hanchrow <offby1@blarg.net> writes:

> (Isn't this awful?)

I had expected something like this...

>         (or (eq (assoc-default 'window-system (frame-parameters 
> current-frame)) 'x)

What is the value of current-frame? The return value of (selected-frame)?

Thanks,

Roland


reply via email to

[Prev in Thread] Current Thread [Next in Thread]