From cfd70f3355eff52330364077f2fb384bf4c82167 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Thu, 23 May 2002 18:45:03 +0000 Subject: [PATCH] (Fchar_or_string_p): Doc fix. Use CHARACTERP. --- src/data.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data.c b/src/data.c index c622ac3c939..c0ae3cf35eb 100644 --- a/src/data.c +++ b/src/data.c @@ -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; } -- 2.39.5