Prefer CALLN

* src/bytecode.c (Fbyte_code):
* src/composite.c (Fclear_composition_cache):
Prefer CALLN to doing it by hand.
* src/fns.c (ccall2): Remove.  All uses replaced by CALLN.
This commit is contained in:
Paul Eggert
2022-03-14 08:55:46 -07:00
parent f52dcfd03a
commit 0d0703e9c4
3 changed files with 12 additions and 20 deletions

View File

@@ -325,8 +325,8 @@ If the third argument is incorrect, Emacs may crash. */)
the original unibyte form. */
bytestr = Fstring_as_unibyte (bytestr);
}
Lisp_Object args[] = {0, bytestr, vector, maxdepth};
return exec_byte_code (Fmake_byte_code (4, args), 0, 0, NULL);
Lisp_Object fun = CALLN (Fmake_byte_code, 0, bytestr, vector, maxdepth);
return exec_byte_code (fun, 0, 0, NULL);
}
static void