[Top][All Lists]

[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 01:44:16 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20071031 Thunderbird/ Mnenhy/

Christian Herenz wrote:
Tom Rauchenwald schrieb:

I want to have set(menu-bar-mode nil) at start in -nw mode.

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

or similiar should work

Is there something when NOT, so that I could set
(when not (window-system)
    (menu-bar-mode nil)
    (other commands i want to use when not windowed))


There is (not ...)  ;-)

(when (not (window-system))

reply via email to

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