From: Dave Love Date: Thu, 23 May 2002 18:45:03 +0000 (+0000) Subject: (Fchar_or_string_p): Doc fix. Use CHARACTERP. X-Git-Tag: emacs-pretest-23.0.90~8295^2~1864^2~773 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cfd70f3355eff52330364077f2fb384bf4c82167;p=emacs.git (Fchar_or_string_p): Doc fix. Use CHARACTERP. --- 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; }