diff options
| author | Reiner Steib | 2006-04-07 18:53:09 +0000 |
|---|---|---|
| committer | Reiner Steib | 2006-04-07 18:53:09 +0000 |
| commit | 122c30092c43596cbafab64ad706e41a2f2565fd (patch) | |
| tree | c3696b76b72cc2f55fec320588bb3ba0d2b16359 | |
| parent | 1ca9b532b1bedf4e7edcb4ca383bef9368468871 (diff) | |
| download | emacs-122c30092c43596cbafab64ad706e41a2f2565fd.tar.gz emacs-122c30092c43596cbafab64ad706e41a2f2565fd.zip | |
(Predicates for Strings): Add string-or-null-p.
| -rw-r--r-- | lispref/ChangeLog | 4 | ||||
| -rw-r--r-- | lispref/strings.texi | 5 |
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 @@ | |||
| 1 | 2006-04-07 Reiner Steib <Reiner.Steib@gmx.de> | ||
| 2 | |||
| 3 | * strings.texi (Predicates for Strings): Add string-or-null-p. | ||
| 4 | |||
| 1 | 2006-03-28 Kim F. Storm <storm@cua.dk> | 5 | 2006-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} | |||
| 102 | otherwise. | 102 | otherwise. |
| 103 | @end defun | 103 | @end defun |
| 104 | 104 | ||
| 105 | @defun string-or-null-p object | ||
| 106 | This 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 |
| 106 | This function returns @code{t} if @var{object} is a string or a | 111 | This function returns @code{t} if @var{object} is a string or a |
| 107 | character (i.e., an integer), @code{nil} otherwise. | 112 | character (i.e., an integer), @code{nil} otherwise. |