Subject: Re: bug#22066: 24.5; documentation for "values" is not accurate

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 09 Feb 2021 16:26:01 +0100

Stefan Monnier <[email-masked]> writes:

> The same problem affects `pi`.  For this reason it's declared obsolete
> in NEWS and in its docstring but not with `make-obsolete` :-(

Ah, I see.  I'll do the same with `values', then.

> Maybe we should change the byte-compiler so it doesn't issue
> obsolescence warnings when the variable is lexically scoped?
>
> So we'd issue a warning for
>
>     ... values ...
>
> but not for
>
>     (let ((values ...)) ... values ...)
>
> ?

Yes, that would be good.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no