[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to check the -nw option?
From: |
Teemu Likonen |
Subject: |
Re: How to check the -nw option? |
Date: |
Mon, 11 May 2009 06:23:14 GMT |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
On 2009-05-10 23:09 (-0700), Kiwon Um wrote:
> (if (not (eq window-system nil)) ...) works well. :)
Yes. For boolean tests one can just do
(if (not window-system)
THEN-FORM
ELSE-FORMS)
or if only one "if" branch is needed, then perhaps
(unless window-system
THEN-FORMS)