help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to find out if emacs is running inside GUI or terminal


From: Bob Proulx
Subject: Re: How to find out if emacs is running inside GUI or terminal
Date: Sun, 24 Nov 2013 22:56:35 -0700
User-agent: Mutt/1.5.21 (2010-09-15)

Eli Zaretskii wrote:
> Bob Proulx wrote:
> > Deprecated!  I wish people would let the API mature and stabilize.  I
> > hadn't heard of the display-graphic-p functions yet.  Thanks for
> > mentioning them.
> 
> display-graphic-p (as well as the other display-*-p predicates) exist
> since Emacs 21.1.  And window-system is deprecated approximately since
> that time also.  So I think this deprecation is mature enough ;-)

I guess since 21.1 is long enough. :-)

> > > 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 very much doubt that you have such old Emacsen around.

Yes, unlikely.  Version 23 is the typically oldest one for me.  I am
using version 24 on my recent systems.  Although I do sometimes miss
version 18 which always seems like the best "old one" that I remember. :-)

Bob



reply via email to

[Prev in Thread] Current Thread [Next in Thread]