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

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

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


From: Louis-Guillaume Gagnon
Subject: How to find out if emacs is running inside GUI or terminal
Date: Fri, 22 Nov 2013 14:16:33 -0500

Hi,

Is there a way to find out within emacs if it is running in a GUI or inside
a terminal (i.e. -nw switch specified on the cli)  using Elisp?

The reason is I would like to take different actions in my ~/.emacs
depending on the situation.

Thanks,

glg


reply via email to

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