[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How can Emacs tell if it's started with Xwindow?
From: |
Lute Kamstra |
Subject: |
Re: How can Emacs tell if it's started with Xwindow? |
Date: |
Thu, 15 May 2003 16:37:14 +0200 |
User-agent: |
Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (gnu/linux) |
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")