diff options
| author | Stefan Kangas | 2025-01-14 21:36:46 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2025-01-14 21:37:04 +0100 |
| commit | 16c89c5ae5ec0c002c327793e783f0a943bacb0d (patch) | |
| tree | b5c52c5ecd63967769e8ae4a53663488b3b2afcc /src/bytecode.c | |
| parent | 2e937dc2b5ad7a87a099df3f014795e88df5cba9 (diff) | |
| download | emacs-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.c | 2 |
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. */) | |||
| 327 | static void | 327 | static void |
| 328 | bcall0 (Lisp_Object f) | 328 | bcall0 (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. |