diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2022-03-14 08:55:46 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-03-14 09:06:20 -0700 |
commit | 0d0703e9c4fb5ebcd4a87e5ebe78e5f53496621e (patch) | |
tree | c5040fbb06469c2f61935db74aeb2340c9ad2011 /src/bytecode.c | |
parent | f52dcfd03ad542704d9a43faab0c33be09ab442e (diff) | |
download | emacs-0d0703e9c4fb5ebcd4a87e5ebe78e5f53496621e.tar.gz emacs-0d0703e9c4fb5ebcd4a87e5ebe78e5f53496621e.tar.bz2 emacs-0d0703e9c4fb5ebcd4a87e5ebe78e5f53496621e.zip |
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.
Diffstat (limited to 'src/bytecode.c')
-rw-r--r-- | src/bytecode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bytecode.c b/src/bytecode.c index 8704e6069dd..65c3ad4da70 100644 --- a/src/bytecode.c +++ b/src/bytecode.c @@ -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 |