[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Test for and adapt to: -nw
From: |
Tim Johnson |
Subject: |
Test for and adapt to: -nw |
Date: |
Wed, 08 Dec 2010 15:26:11 -0000 |
User-agent: |
slrn/0.9.9p1 (Linux) |
Using emacs 23~ on linux. In some cases it would be preferable for me to
use the -nw (do not use X) initialization option.
1)Is there an emacs function to test for X communication?
example: (using-X-p)
2)Are there any color themes composed especially for emacs?
I would like to do something like this in .emacs:
(if (using-X-p)
(color-theme-gnome) ;; from color-theme.el
(nw-color-theme-gnome)) ;; from where ??
3)Is there something like an .Xresources file for a non-X emacs?
thanks
--
Tim
tim at johnsons-web.com or akwebsoft.com
http://www.akwebsoft.com
- Test for and adapt to: -nw,
Tim Johnson <=