From: "François Fleuret" <francois.fleuret@inria.fr>
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 [thread overview]
Message-ID: <s021xrnipfg.fsf@wasabi.inria.fr> (raw)
In-Reply-To: bf23f78f.0312011041.3564a9c7@posting.google.com
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
prev parent reply other threads:[~2003-12-02 8:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-01 18:41 How have .emacs segment ONLY run if X-Windows but NOT if run without X? Christian Seberino
2003-12-01 19:28 ` Dan Anderson
2003-12-02 8:39 ` François Fleuret [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s021xrnipfg.fsf@wasabi.inria.fr \
--to=francois.fleuret@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).