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: Lennart Borgman (gmail)
Subject: Re: Detect if Emacs is running in -nw mode
Date: Sun, 30 Mar 2008 14:43:27 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

Christian Herenz wrote:
Rupert Swarbrick schrieb:

And your code would be:

(unless window-system (menu-bar-mode -1))


Hope this helps!


Thanks for your long answer, I am beginning to understand... But I also get a little bit confused. As I stated before, I want to run more commannds, is this as simple as:

(unless window-system (menu-bar-mode -1) (color-theme-arjen))  ?


Do

  C-h f unless RET

to read the documentation for "unless". You can see there that is says "body forms".





reply via email to

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