unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* way to discriminate between Emacs.app or terminal launch of Emacs in init.el
@ 2015-08-17 22:22 christopherpenrose
  2015-08-17 22:41 ` christopherpenrose
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: christopherpenrose @ 2015-08-17 22:22 UTC (permalink / raw)
  To: help-gnu-emacs

I would like to have a logic switch in init.el that either detects that I am launching via Terminal in OS X or launching via Emacs.app on OS X. Is there a way to do this?

I am quite happy using Emacs in a terminal, and am often inconvenienced using Emacs.app for all my emacs needs, despite netsperts who proclaim that I am gimping myself.


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

end of thread, other threads:[~2015-08-19 11:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-17 22:22 way to discriminate between Emacs.app or terminal launch of Emacs in init.el christopherpenrose
2015-08-17 22:41 ` christopherpenrose
2015-08-17 22:53 ` Pascal J. Bourguignon
2015-08-18  0:18   ` Drew Adams
     [not found]   ` <mailman.8493.1439857145.904.help-gnu-emacs@gnu.org>
2015-08-18  5:24     ` Stefan Monnier
2015-08-19 11:42 ` Alexis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).