Commit c616acb8 authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(Fbyte_code): Use CHECK_VECTOR.

parent 7e9d10c3
......@@ -433,8 +433,7 @@ If the third argument is incorrect, Emacs may crash. */)
#endif
CHECK_STRING (bytestr);
if (!VECTORP (vector))
vector = wrong_type_argument (Qvectorp, vector);
CHECK_VECTOR (vector);
CHECK_NUMBER (maxdepth);
if (STRING_MULTIBYTE (bytestr))
......@@ -547,9 +546,7 @@ If the third argument is incorrect, Emacs may crash. */)
else if (NILP (v1))
TOP = Qnil;
else
{
wrong_type_argument (Qlistp, v1);
}
break;
}
......@@ -580,9 +577,7 @@ If the third argument is incorrect, Emacs may crash. */)
else if (NILP (v1))
TOP = Qnil;
else
{
wrong_type_argument (Qlistp, v1);
}
break;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment