emacs-devel
[Top][All Lists]
Advanced

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

Re: make-vector documentation is wrong


From: Eli Zaretskii
Subject: Re: make-vector documentation is wrong
Date: Fri, 15 May 2020 09:49:12 +0300

> From: Paul Eggert <address@hidden>
> Date: Thu, 14 May 2020 19:46:09 -0700
> Cc: Emacs developers <address@hidden>
> 
> (make-string 0 0), (make-list 0 0), (vector), and (list) all have the property
> that (make-vector 0 0) does - that is, each call returns the same empty object
> each time. I imagine that make-vector was implemented to be consistent with 
> the
> other functions - at least, this behavior appears to be a conscious decision
> rather than accidental. So it may make sense to change these functions'
> documentation instead of their implementation's longstanding behavior.

I'm fine with documenting this long-standing behavior (although we
should think whether this subtle issue should be in the doc strings or
only in the ELisp manual).



reply via email to

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