Allow any non-nil value to count as true in bool-vector.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 19 May 2014 19:19:05 +0000 (12:19 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 19 May 2014 19:19:05 +0000 (12:19 -0700)
commit2f1205e0848f7f6ed4578a36c656106a9ba69a8e
treefb23d42169db84a5fb81730489281ce57475960d
parent427de5355f3c70e60ddc65324f1270d533fca0c2
Allow any non-nil value to count as true in bool-vector.

Likewise for xd_signature in dbusbind.c.
This is more consistent with the usual practice in Emacs, which is
that any non-nil value counts as true.
* doc/lispref/sequences.texi (Bool-Vectors): Coalesce discussion of how to
print them.  bool-vector's args need not be t or nil.
* src/alloc.c (Fbool_vector): Don't require args to be t or nil.
* src/dbusbind.c (xd_signature): Likewise, for booleans.
* src/data.c, lisp.h (Qbooleanp):
* src/lisp.h (CHECK_BOOLEAN): Remove.  All uses removed.
doc/lispref/ChangeLog
doc/lispref/sequences.texi
src/ChangeLog
src/alloc.c
src/data.c
src/dbusbind.c
src/lisp.h