From: Emanuel Berg via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Terminal only emacs question
Date: Fri, 25 Sep 2020 00:20:32 +0200 [thread overview]
Message-ID: <871riqzuj3.fsf@ebih.ebihd> (raw)
In-Reply-To: 875z82zut1.fsf@ebih.ebihd
> But `window-system' is still preferable, more
> elegant, I'd say, so try that first :)
In the docstring to `window-system' it says:
Use of this variable as a boolean is deprecated.
Instead, use ‘display-graphic-p’ or any of the
other ‘display-*-p’ predicates which report frame’s
specific UI-related capabilities.
Hm... your use case is boolean, right?
So try:
(display-graphic-p)
:)
--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal
next prev parent reply other threads:[~2020-09-24 22:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20200924220106.way5eue2tmykuhgy.ref@Ergus>
2020-09-24 22:01 ` Terminal only emacs question Ergus
2020-09-24 22:10 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-09-24 22:14 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-09-24 22:20 ` Emanuel Berg via Users list for the GNU Emacs text editor [this message]
2020-09-24 22:39 ` Ergus
2020-09-24 22:53 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-09-25 1:22 ` Stefan Monnier
2020-09-25 2:32 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-09-25 3:22 ` Ergus
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=871riqzuj3.fsf@ebih.ebihd \
--to=help-gnu-emacs@gnu.org \
--cc=moasenwood@zoho.eu \
/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).