aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/data.c4
1 files 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,
443} 443}
444 444
445DEFUN ("char-or-string-p", Fchar_or_string_p, Schar_or_string_p, 1, 1, 0, 445DEFUN ("char-or-string-p", Fchar_or_string_p, Schar_or_string_p, 1, 1, 0,
446 doc: /* Return t if OBJECT is a character (an integer) or a string. */) 446 doc: /* Return t if OBJECT is a character or a string. */)
447 (object) 447 (object)
448 register Lisp_Object object; 448 register Lisp_Object object;
449{ 449{
450 if (INTEGERP (object) || STRINGP (object)) 450 if (CHARACTERP (object) || STRINGP (object))
451 return Qt; 451 return Qt;
452 return Qnil; 452 return Qnil;
453} 453}