[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How have .emacs segment ONLY run if X-Windows but NOT if run without
From: |
François Fleuret |
Subject: |
Re: How have .emacs segment ONLY run if X-Windows but NOT if run without X? |
Date: |
02 Dec 2003 09:39:31 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Hi,
Christian Seberino wrote on 01 Dec 2003 19:41:45 MET:
> How have .emacs segment ONLY run if X-Windows but NOT if run without X?
,----
| window-system's value is x
|
| 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.
`----
Hence, using (when window-system ...) should do it.
Regards,
--
François Fleuret