From: David Kastrup <dak@gnu.org>
Subject: Re: How to detect if Emacs is running in a terminal
Date: Fri, 15 Apr 2005 17:32:32 +0200 [thread overview]
Message-ID: <851x9cnjhr.fsf@gnu.org> (raw)
In-Reply-To: mailman.1647.1113578084.2895.help-gnu-emacs@gnu.org
Denis Bueno <dbueno@gmail.com> writes:
> Is there some emacs lisp function that I could call to detect
> whether the current emacs process is running from within a terminal
> or not?
The window-system variable.
> I'd like to be able to change my font-lock faces based on whether
> emacs is running in a terminal or not.
Why? Face definitions can contain several different specs for
different terminals.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
next parent reply other threads:[~2005-04-15 15:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1647.1113578084.2895.help-gnu-emacs@gnu.org>
2005-04-15 15:32 ` David Kastrup [this message]
2005-04-15 15:56 ` How to detect if Emacs is running in a terminal Stefan Monnier
2005-04-15 16:11 ` Pascal Bourguignon
2005-04-16 12:05 ` Ismael Valladolid Torres
[not found] ` <mailman.1726.1113653312.2895.help-gnu-emacs@gnu.org>
2005-04-16 12:18 ` Stefan Monnier
2005-04-16 14:20 ` Reiner Steib
2005-04-15 15:10 Denis Bueno
2005-04-15 22:56 ` Peter Dyballa
[not found] ` <mailman.1688.1113606088.2895.help-gnu-emacs@gnu.org>
2005-04-15 23:42 ` Pascal Bourguignon
2005-04-16 15:30 ` Peter Dyballa
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=851x9cnjhr.fsf@gnu.org \
--to=dak@gnu.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.