aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReiner Steib2006-04-07 18:53:09 +0000
committerReiner Steib2006-04-07 18:53:09 +0000
commit122c30092c43596cbafab64ad706e41a2f2565fd (patch)
treec3696b76b72cc2f55fec320588bb3ba0d2b16359
parent1ca9b532b1bedf4e7edcb4ca383bef9368468871 (diff)
downloademacs-122c30092c43596cbafab64ad706e41a2f2565fd.tar.gz
emacs-122c30092c43596cbafab64ad706e41a2f2565fd.zip
(Predicates for Strings): Add string-or-null-p.
-rw-r--r--lispref/ChangeLog4
-rw-r--r--lispref/strings.texi5
2 files changed, 9 insertions, 0 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index 2a398b3b52c..7e76bd8b505 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,7 @@
12006-04-07 Reiner Steib <Reiner.Steib@gmx.de>
2
3 * strings.texi (Predicates for Strings): Add string-or-null-p.
4
12006-03-28 Kim F. Storm <storm@cua.dk> 52006-03-28 Kim F. Storm <storm@cua.dk>
2 6
3 * processes.texi (Accepting Output): Remove obsolete (and incorrect) 7 * processes.texi (Accepting Output): Remove obsolete (and incorrect)
diff --git a/lispref/strings.texi b/lispref/strings.texi
index d7111eaa722..796090bb80c 100644
--- a/lispref/strings.texi
+++ b/lispref/strings.texi
@@ -102,6 +102,11 @@ This function returns @code{t} if @var{object} is a string, @code{nil}
102otherwise. 102otherwise.
103@end defun 103@end defun
104 104
105@defun string-or-null-p object
106This function returns @code{t} if @var{object} is a string or nil,
107@code{nil} otherwise.
108@end defun
109
105@defun char-or-string-p object 110@defun char-or-string-p object
106This function returns @code{t} if @var{object} is a string or a 111This function returns @code{t} if @var{object} is a string or a
107character (i.e., an integer), @code{nil} otherwise. 112character (i.e., an integer), @code{nil} otherwise.