[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to check the -nw option?
From: |
Kiwon Um |
Subject: |
Re: How to check the -nw option? |
Date: |
Sun, 10 May 2009 23:09:08 -0700 (PDT) |
User-agent: |
G2/1.0 |
On 5월11일, 오후1시40분, Teemu Likonen <tliko...@iki.fi> wrote:
> On 2009-05-10 18:37 (-0700), Kiwon Um wrote:
>
> > Some modes do not work with terminal base, i.e. no-window-system (-nw)
> > emacs. So I want to write my .emacs with checking if it's no-window-
> > emacs emacs or not. How I can check this?
>
> Check the variable "window-system". Its value is nil if Emacs is not
> running in a window system. The manual section is here:
>
> M-x elisp-index-search RET window-system RET
Thanks.
It is really what I wanted.
(if (not (eq window-system nil)) ...) works well. :)