[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 04:40:06 GMT |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
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