]> code.delx.au - gnu-emacs/commitdiff
(Fchar_or_string_p): Doc fix. Use CHARACTERP.
authorDave Love <fx@gnu.org>
Thu, 23 May 2002 18:45:03 +0000 (18:45 +0000)
committerDave Love <fx@gnu.org>
Thu, 23 May 2002 18:45:03 +0000 (18:45 +0000)
src/data.c

index c622ac3c939eb238429f06b01a48cfa2a534fe85..c0ae3cf35eb7888efc5b3459a06c970c72721371 100644 (file)
@@ -443,11 +443,11 @@ DEFUN ("byte-code-function-p", Fbyte_code_function_p, Sbyte_code_function_p,
 }
 
 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;
 }