diff options
author | Alan Mackenzie <acm@muc.de> | 2022-08-15 12:18:01 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2022-08-15 12:18:01 +0000 |
commit | 629f980fad0bee97ff63c5f684b472cc71061eea (patch) | |
tree | 99bc142ea761903067badeb66a8aa7246425b294 /test/lisp/progmodes/python-tests.el | |
parent | d5ee49c25c8f59ab17c40eebdf38a769c2f5588b (diff) | |
download | emacs-629f980fad0bee97ff63c5f684b472cc71061eea.tar.gz emacs-629f980fad0bee97ff63c5f684b472cc71061eea.tar.bz2 emacs-629f980fad0bee97ff63c5f684b472cc71061eea.zip |
Enhance safe_run_hooks_1 and safe_run_hook_funcall to handle more arguments
This fixes bug #57179.
* src/keyboard.c (safe_run_hooks_1, safe_run_hook_funcall): Enhance these
functions so that nargs == 3 or 4 is handled as well as nargs == 2. This
allows them to be used to call hooks with 1 or 2 arguments.
Diffstat (limited to 'test/lisp/progmodes/python-tests.el')
0 files changed, 0 insertions, 0 deletions