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

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

Re: Detect if Emacs is running in -nw mode


From: Christian Herenz
Subject: Re: Detect if Emacs is running in -nw mode
Date: Sun, 30 Mar 2008 03:22:55 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.11) Gecko/20071128 SUSE/1.1.7-3.4 SeaMonkey/1.1.7 Mnenhy/0.7.5.0

Will Parsons schrieb:

There is (not ...)  ;-)

(when (not (window-system))
    ...)

Or how about (unless ...)

(unless (window-system)
...)

So... That should do the trick. One last question, i assume that window-system can either be true or false. I searched the help for a variable called window-system but I found no explanation?
Where do I have to search for emacs "system-variables"?

Greets and thanks,
Christian


reply via email to

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