From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: How to find out if emacs is running inside GUI or terminal Date: Mon, 25 Nov 2013 05:46:21 +0200 Message-ID: <83k3fxb0tu.fsf@gnu.org> References: <20131122193025.GA18686@hysteria.proulx.com> <87d2lsjkc1.fsf@wanadoo.es> <20131125020405.GA5534@hysteria.proulx.com> <110604a4-2413-4a07-ade5-4015078a6050@default> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1385351186 25850 80.91.229.3 (25 Nov 2013 03:46:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Nov 2013 03:46:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 25 04:46:31 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vkn82-0008CV-JR for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Nov 2013 04:46:30 +0100 Original-Received: from localhost ([::1]:49541 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vkn82-0007e5-7o for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Nov 2013 22:46:30 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vkn7n-0007dL-MF for help-gnu-emacs@gnu.org; Sun, 24 Nov 2013 22:46:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vkn7i-0007DV-BB for help-gnu-emacs@gnu.org; Sun, 24 Nov 2013 22:46:15 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:60018) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vkn7i-0007DR-2r for help-gnu-emacs@gnu.org; Sun, 24 Nov 2013 22:46:10 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MWS00800VIR8500@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Mon, 25 Nov 2013 05:46:09 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MWS0073FVSXZXB0@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Mon, 25 Nov 2013 05:46:09 +0200 (IST) In-reply-to: <110604a4-2413-4a07-ade5-4015078a6050@default> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94600 Archived-At: > Date: Sun, 24 Nov 2013 18:30:26 -0800 (PST) > From: Drew Adams > > > > There are several display-*-p functions for querying about specific > > > features for a display. > > > > Sure. Unless you happen to be using an older emacs that doesn't have > > those newer functions. I will have to look to see how long they have > > been around. > > Emacs 22, for `display-graphic-p', at least. No, it's Emacs 21.1; see NEWS.21.