all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to find out if emacs is running inside GUI or terminal
@ 2013-11-22 19:16 Louis-Guillaume Gagnon
  2013-11-22 19:30 ` Bob Proulx
  2013-11-22 23:26 ` Stefan Monnier
  0 siblings, 2 replies; 10+ messages in thread
From: Louis-Guillaume Gagnon @ 2013-11-22 19:16 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-11-25 15:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-22 19:16 How to find out if emacs is running inside GUI or terminal Louis-Guillaume Gagnon
2013-11-22 19:30 ` Bob Proulx
2013-11-22 19:41   ` Óscar Fuentes
2013-11-25  2:04     ` Bob Proulx
2013-11-25  2:30       ` Drew Adams
2013-11-25  3:46         ` Eli Zaretskii
     [not found]         ` <<83k3fxb0tu.fsf@gnu.org>
2013-11-25 15:45           ` Drew Adams
2013-11-25  3:45       ` Eli Zaretskii
2013-11-25  5:56         ` Bob Proulx
2013-11-22 23:26 ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.