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 16:45:57 +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:
Lennart Borgman (gmail) schrieb:


Do

  C-h f unless RET

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


C-h f unless RET yields here:
--
|unless is a Lisp macro in `subr'.
|(unless COND &rest BODY)
                                          |
|If COND yields nil, do BODY, else return nil.
--

But what about more than one function inside the Body?


The documentation should be exact enough to show that. If not then it is a documentation bug.

In this case it says "body forms", not "body form". A form is something inside a pair of (). So it is ok with several functions here.

If it was not you could have used progn for example.




reply via email to

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