set intspec to NULL when creating subrs

This commit is contained in:
Andrea Corallo 2019-11-11 22:16:38 +01:00
parent fd42b6c696
commit 0cf4a9fdfc

View file

@ -3284,6 +3284,7 @@ DEFUN ("comp--register-subr", Fcomp__register_subr,
x->s.min_args = XFIXNUM (minarg);
x->s.max_args = FIXNUMP (maxarg) ? XFIXNUM (maxarg) : MANY;
x->s.symbol_name = SSDATA (Fsymbol_name (name));
x->s.intspec = NULL;
x->s.native_elisp = true;
defsubr (x);