emacs-bug-tracker
[Top][All Lists]
Advanced

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

[Emacs-bug-tracker] bug#9259: closed (extra line in "unless" docstring?)


From: GNU bug Tracking System
Subject: [Emacs-bug-tracker] bug#9259: closed (extra line in "unless" docstring?)
Date: Mon, 08 Aug 2011 13:54:02 +0000

Your message dated Mon, 8 Aug 2011 15:51:15 +0200
with message-id <address@hidden>
and subject line Re: bug#9259: extra line in "unless" docstring?
has caused the GNU bug report #9259,
regarding extra line in "unless" docstring?
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
9259: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9259
GNU Bug Tracking System
Contact address@hidden with problems
--- 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 ---

reply via email to

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