# HG changeset patch # User Stefan Monnier # Date 1146320093 0 # Node ID cdbf1a359e6721ecdcabf31f3e0495f999e87b86 # Parent 693f5a9250cad6de47aeaead54b331916879dec1 Add `booleanp'. diff -r 693f5a9250ca -r cdbf1a359e67 etc/NEWS --- a/etc/NEWS Sat Apr 29 14:02:42 2006 +0000 +++ b/etc/NEWS Sat Apr 29 14:14:53 2006 +0000 @@ -3645,9 +3645,10 @@ If it is non-nil, the function lists only faces matching this regexp. +++ -*** New function `string-or-null-p'. - -Return t if OBJECT is a string or nil. Otherwise, return nil. +*** New functions `string-or-null-p' and `booleanp'. + +`string-or-null-p' returns non-nil iff OBJECT is a string or nil. +`booleanp' returns non-nil iff OBJECT is a t or nil. ** Lisp code indentation features: