From: Corsair <chris.corsair@gmail.com>
Subject: Re: How to tell emacs is running under term or windows?
Date: Sat, 07 Oct 2006 12:21:19 +0800 [thread overview]
Message-ID: <87y7rs69j4.fsf@gmail.com> (raw)
In-Reply-To: mailman.7851.1160192955.9609.help-gnu-emacs@gnu.org
alephnull@airtelbroadband.in (Alok G. Singh) writes:
> On 7 Oct 2006, chris.corsair@gmail.com wrote:
>
>> The problem is, how to tell that emacs is running under a term or a
>> windows system, or, to be simple, how to tell if the `-nw' option is
>> issued when starting emacs?
>
>>From the C-h f:
>
> window-system is a built-in function in `C source code'.
> (window-system &optional FRAME)
>
> The name of the window system that FRAME 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.
>
> FRAME defaults to the currently selected frame.
>
> --
> Alok
>
> Give a small boy a hammer and he will find that everything he encounters
> needs pounding.
>
Thanks man, it works perfectly. Thanks a lot.
--
Fear is the path to the Darkside.
Fear leads to anger,
Anger leads to hate,
Hate leads to suffering.
prev parent reply other threads:[~2006-10-07 4:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-07 2:37 How to tell emacs is running under term or windows? Corsair
2006-10-07 3:48 ` Alok G. Singh
[not found] ` <mailman.7851.1160192955.9609.help-gnu-emacs@gnu.org>
2006-10-07 4:21 ` Corsair [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=87y7rs69j4.fsf@gmail.com \
--to=chris.corsair@gmail.com \
/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).