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

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

Re: Detect if Emacs is running in -nw mode


From: Christian Herenz
Subject: Re: Detect if Emacs is running in -nw mode
Date: Mon, 31 Mar 2008 10:34:18 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.11) Gecko/20071128 SUSE/1.1.7-3.4 SeaMonkey/1.1.7 Mnenhy/0.7.5.0

Tim X schrieb:

(unless condition
  (do-thing-1 arg1)
  (do-thing-2)
  (do-thing-3 arg1 arg2))


OK!

(if window-system
    (do-true-thing)
  (do-false-thing))

See! That was what confused me, I thought unless works like if, but obviously there is a difference.

Thank you very much :-)

Greets,
Christian


reply via email to

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