--- Begin Message ---
Subject: |
extra line in "unless" docstring? |
Date: |
Mon, 08 Aug 2011 11:13:06 +0800 |
unless is a Lisp macro in `subr.el'.
(unless COND BODY...)
If COND yields nil, do BODY, else return nil. <--------what is this line doing
here?
When COND yields nil, eval BODY forms sequentially and return
value of last one, or nil if there are none.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#9259: extra line in "unless" docstring? |
Date: |
Mon, 8 Aug 2011 15:51:15 +0200 |
> (unless COND BODY...)
>
> If COND yields nil, do BODY, else return nil. <--------what is this line
> doing here?
The same happens for `when', BTW.
It's not a bug. Most docstrings are written so the first line provides
a summary of the corresponding function/macro/special form/variable.
This makes the output of apropos more useful.
Juanma
--- End Message ---