[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
- How to find out if emacs is running inside GUI or terminal,
Louis-Guillaume Gagnon <=
Re: How to find out if emacs is running inside GUI or terminal, Stefan Monnier, 2013/11/22