]> git.eshelyaron.com Git - emacs.git/commit
Use calln instead of calling Ffuncall directly
authorStefan Kangas <stefankangas@gmail.com>
Tue, 14 Jan 2025 20:36:46 +0000 (21:36 +0100)
committerEshel Yaron <me@eshelyaron.com>
Fri, 17 Jan 2025 11:34:49 +0000 (12:34 +0100)
commite7375432c53e899d3cc6358c65e6cfd44035ddcf
tree0c5d492802b789db733c5722c211163bf8dbc4b2
parent63c5b2070ff781313439adfc0ab4f1ecb8ebe3d8
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.

(cherry picked from commit 16c89c5ae5ec0c002c327793e783f0a943bacb0d)
admin/coccinelle/calln.cocci [new file with mode: 0644]
src/bytecode.c
src/comp.c
src/eval.c
src/lisp.h
src/thread.c