changeset 88623:0d7705c8ee3c

(Fchar_or_string_p): Doc fix. Use CHARACTERP.
author Dave Love <fx@gnu.org>
date Thu, 23 May 2002 18:45:03 +0000
parents 6bd578d2b8af
children 22b091c1363a
files src/data.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/data.c	Thu May 23 18:44:45 2002 +0000
+++ b/src/data.c	Thu May 23 18:45:03 2002 +0000
@@ -443,11 +443,11 @@
 }
 
 DEFUN ("char-or-string-p", Fchar_or_string_p, Schar_or_string_p, 1, 1, 0,
-       doc: /* Return t if OBJECT is a character (an integer) or a string.  */)
+       doc: /* Return t if OBJECT is a character or a string.  */)
      (object)
      register Lisp_Object object;
 {
-  if (INTEGERP (object) || STRINGP (object))
+  if (CHARACTERP (object) || STRINGP (object))
     return Qt;
   return Qnil;
 }