unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Lute Kamstra <Lute.Kamstra@cwi.nl>
Subject: Re: How can Emacs tell if it's started with Xwindow?
Date: Thu, 15 May 2003 16:37:14 +0200	[thread overview]
Message-ID: <sgdd6ik46p1.fsf@occarina.pna.cwi.nl> (raw)
In-Reply-To: <phn0hotgly.fsf@wangyin.com> (Wang Yin's message of "15 May 2003 22:43:53 +0800")

Wang Yin <wang-y01@mails.tsinghua.edu.cn> writes:

[...]

> How can I add a predicate to tell Emacs if we are in X?

,----[ C-h v window-system RET ]
| 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.
`----

Lute.

-- 
(spook) => "Aladdin S Key BLU-97 A/B"
(insert-file-contents "~/.signature") => (error "`~/.signature' too rude")

  reply	other threads:[~2003-05-15 14:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-15 14:43 How can Emacs tell if it's started with Xwindow? Wang Yin
2003-05-15 14:37 ` Lute Kamstra [this message]
2003-05-15 15:24 ` William D. Colburn (aka Schlake)
2003-05-15 17:43   ` Niels Freimann
2003-05-15 17:11 ` Benjamin Riefenstahl
2003-05-16  1:17 ` It's me FKtPp ;)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sgdd6ik46p1.fsf@occarina.pna.cwi.nl \
    --to=lute.kamstra@cwi.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).