[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#34842: 26.1; Alist documentation: let-alist
From: |
Lars Ingebrigtsen |
Subject: |
bug#34842: 26.1; Alist documentation: let-alist |
Date: |
Sun, 13 Oct 2019 04:48:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
"Basil L. Contovounesios" <contovob@tcd.ie> writes:
> Thanks. The following constitute what I think are some opportunities
> for clarifying the current doc. WDYT?
Looks good to me, but:
> +@samp{.} are bound. Each such @var{.symbol} is bound to the @sc{cdr}
> +of the first association for @var{symbol} in @var{alist} using
> +@code{assq}. If no such association exists, @var{.symbol} is bound to
> +@code{nil}:
>
> +@lisp
> +(let-alist colors
> + .tulip)
> + @result{} nil
> +@end lisp
This bit seems superfluous. (cdr (assq ...)) is nil when no such
association exists, but this makes it sound like that's a special case
somehow...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no