; * src/fns.c (Fcopy_alist): More accurate error type

This commit is contained in:
Mattias Engdegård 2022-09-25 17:44:29 +02:00
parent e0565e3896
commit 197afa4de3

View file

@ -1415,9 +1415,9 @@ are shared, however.
Elements of ALIST that are not conses are also shared. */)
(Lisp_Object alist)
{
CHECK_LIST (alist);
if (NILP (alist))
return alist;
CHECK_CONS (alist);
alist = Fcopy_sequence (alist);
for (Lisp_Object tem = alist; !NILP (tem); tem = XCDR (tem))
{