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: BVK
Subject: Re: Detect if Emacs is running in -nw mode
Date: Sun, 30 Mar 2008 09:04:36 +0530

On Sun, Mar 30, 2008 at 6:52 AM, Christian Herenz
<herenz@physik.hu-berlin.de> wrote:
>
>  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?
>

C-h v window-system gave me this documentation:

window-system is a variable defined in `C source code'.
Its value is nil

Documentation:
Name of window system that Emacs is displaying through.
The value is a symbol--for instance, `x' for X windows.
The value is nil if Emacs is using a text-only terminal.


-- 
bvk-chaitanya




reply via email to

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