aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 980085d3292..9feca7ae024 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -5275,7 +5275,8 @@ valid_lisp_object_p (Lisp_Object obj)
5275 if (valid <= 0) 5275 if (valid <= 0)
5276 return valid; 5276 return valid;
5277 5277
5278 if (SUBRP (obj)) 5278 /* Strings and conses produced by AUTO_STRING etc. all get here. */
5279 if (SUBRP (obj) || STRINGP (obj) || CONSP (obj))
5279 return 1; 5280 return 1;
5280 5281
5281 return 0; 5282 return 0;