aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorStefan Kangas2025-01-14 21:36:46 +0100
committerStefan Kangas2025-01-14 21:37:04 +0100
commit16c89c5ae5ec0c002c327793e783f0a943bacb0d (patch)
treeb5c52c5ecd63967769e8ae4a53663488b3b2afcc /src/bytecode.c
parent2e937dc2b5ad7a87a099df3f014795e88df5cba9 (diff)
downloademacs-16c89c5ae5ec0c002c327793e783f0a943bacb0d.tar.gz
emacs-16c89c5ae5ec0c002c327793e783f0a943bacb0d.zip
Use calln instead of calling Ffuncall directly
* src/bytecode.c (bcall0): * src/comp.c (bcall0): * src/eval.c (apply1): * src/lisp.h (call0): * src/thread.c (invoke_thread_function): Use calln instead of calling Ffuncall directly. * admin/coccinelle/calln.cocci: New semantic patch.
Diffstat (limited to 'src/bytecode.c')
-rw-r--r--src/bytecode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bytecode.c b/src/bytecode.c
index fcf369400b9..d62d7d067b1 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -327,7 +327,7 @@ If the third argument is incorrect, Emacs may crash. */)
327static void 327static void
328bcall0 (Lisp_Object f) 328bcall0 (Lisp_Object f)
329{ 329{
330 Ffuncall (1, &f); 330 calln (f);
331} 331}
332 332
333/* The bytecode stack size in bytes. 333/* The bytecode stack size in bytes.