unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* conditional statement in .emacs depending on terminal
@ 2004-02-23 18:37 Mark Pors
  2004-02-23 22:02 ` Kevin Rodgers
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Pors @ 2004-02-23 18:37 UTC (permalink / raw)


Hi all!

I wonder how I could make emacs omit some statements in my .emacs file, 
when I use the command-line version of emacs (and obviously these 
statements should be evaluated when I start emacs as a separate 
application).

Any hints are much appreciated!

cheers
Mark

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

* Re: conditional statement in .emacs depending on terminal
  2004-02-23 18:37 conditional statement in .emacs depending on terminal Mark Pors
@ 2004-02-23 22:02 ` Kevin Rodgers
  2004-02-24 16:26   ` Mark Pors
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Rodgers @ 2004-02-23 22:02 UTC (permalink / raw)


Mark Pors wrote:

> I wonder how I could make emacs omit some statements in my .emacs file, 
> when I use the command-line version of emacs (and obviously these 
> statements should be evaluated when I start emacs as a separate 
> application).

C-v noninteractive
C-h v window-system
C-h v command-line-args

-- 
Kevin Rodgers

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

* Re: conditional statement in .emacs depending on terminal
  2004-02-23 22:02 ` Kevin Rodgers
@ 2004-02-24 16:26   ` Mark Pors
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Pors @ 2004-02-24 16:26 UTC (permalink / raw)


Kevin Rodgers wrote:
> 
> Mark Pors wrote:
> 
>> I wonder how I could make emacs omit some statements in my .emacs 
>> file, when I use the command-line version of emacs (and obviously 
>> these statements should be evaluated when I start emacs as a separate 
>> application).
> 
> 
> C-v noninteractive
> C-h v window-system
> C-h v command-line-args
> 

that was what I was looking for
cool, tnx!

Mark

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

end of thread, other threads:[~2004-02-24 16:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-23 18:37 conditional statement in .emacs depending on terminal Mark Pors
2004-02-23 22:02 ` Kevin Rodgers
2004-02-24 16:26   ` Mark Pors

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).