From 20bfe3873f561e00fd59d6d0be339dfa131e8af7 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sat, 29 Apr 2006 14:14:53 +0000 Subject: [PATCH] Add `booleanp'. --- etc/NEWS | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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: -- 2.39.5