# HG changeset patch # User Reiner Steib # Date 1144435989 0 # Node ID e9b7f9dec32c378bdbbde56a665c37a2b18d5bef # Parent 9b1a2f1cdf0e5eab21988a858538d325693c1c6b (Predicates for Strings): Add string-or-null-p. diff -r 9b1a2f1cdf0e -r e9b7f9dec32c lispref/ChangeLog --- a/lispref/ChangeLog Fri Apr 07 18:52:30 2006 +0000 +++ b/lispref/ChangeLog Fri Apr 07 18:53:09 2006 +0000 @@ -1,3 +1,7 @@ +2006-04-07 Reiner Steib + + * strings.texi (Predicates for Strings): Add string-or-null-p. + 2006-03-28 Kim F. Storm * processes.texi (Accepting Output): Remove obsolete (and incorrect) diff -r 9b1a2f1cdf0e -r e9b7f9dec32c lispref/strings.texi --- a/lispref/strings.texi Fri Apr 07 18:52:30 2006 +0000 +++ b/lispref/strings.texi Fri Apr 07 18:53:09 2006 +0000 @@ -102,6 +102,11 @@ otherwise. @end defun +@defun string-or-null-p object +This function returns @code{t} if @var{object} is a string or nil, +@code{nil} otherwise. +@end defun + @defun char-or-string-p object This function returns @code{t} if @var{object} is a string or a character (i.e., an integer), @code{nil} otherwise.