bug#3155: 23.0.92; doc string of assoc-default

"Drew Adams" <[email protected]>
Newsgroups gmane.emacs.bugs,gmane.emacs.pretest.bugs
Message-ID <[email protected]>
Doc string:
 
 Find object KEY in a pseudo-alist ALIST.
 ALIST is a list of conses or objects.  Each element (or the element's car,
 if it is a cons) is compared with key by evaluating (TEST (car elt) KEY).
 If that is non-nil, the element matches;
 then `assoc-default' returns the element's cdr, if it is a cons,
 or DEFAULT if the element is not a cons.
 
 If no element matches, the value is nil.
 If TEST is omitted or nil, `equal' is used.
 
This part is incorrect when the element is not a cons: "by evaluating
(TEST (car elt) KEY)" (not to mention the fact that "elt" is
undefined/unexplained).  It should say something like "by calling TEST
on KEY and the element (or the element's car, if it is a cons)."
 
(The Elisp manual explanation is correct.)
 

In GNU Emacs 23.0.92.1 (i386-mingw-nt5.1.2600)
 of 2009-03-30 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.