aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 48857ecff14..c42c27f0333 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -4966,7 +4966,10 @@ Does not copy symbols. Copies strings without text properties. */)
4966 for (i = 0; i < size; i++) 4966 for (i = 0; i < size; i++)
4967 vec->contents[i] = Fpurecopy (XVECTOR (obj)->contents[i]); 4967 vec->contents[i] = Fpurecopy (XVECTOR (obj)->contents[i]);
4968 if (COMPILEDP (obj)) 4968 if (COMPILEDP (obj))
4969 XSETCOMPILED (obj, vec); 4969 {
4970 XSETPVECTYPE (vec, PVEC_COMPILED);
4971 XSETCOMPILED (obj, vec);
4972 }
4970 else 4973 else
4971 XSETVECTOR (obj, vec); 4974 XSETVECTOR (obj, vec);
4972 return obj; 4975 return obj;