From: Stefan Monnier Date: Sat, 29 Apr 2006 14:14:53 +0000 (+0000) Subject: Add `booleanp'. X-Git-Tag: emacs-pretest-22.0.90~2906 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=20bfe3873f561e00fd59d6d0be339dfa131e8af7;p=emacs.git Add `booleanp'. --- diff --git a/etc/NEWS b/etc/NEWS index 22493d08549..a15e217cafe 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -3645,9 +3645,10 @@ This is useful in packages that can be preloaded. If it is non-nil, the function lists only faces matching this regexp. +++ -*** New function `string-or-null-p'. +*** New functions `string-or-null-p' and `booleanp'. -Return t if OBJECT is a string or nil. Otherwise, return nil. +`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: