[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 6ab183a0f9: * src/keyboard.c (safe_run_hook_funcall): Fix thinko
From: |
Stefan Monnier |
Subject: |
master 6ab183a0f9: * src/keyboard.c (safe_run_hook_funcall): Fix thinko |
Date: |
Thu, 8 Sep 2022 16:15:11 -0400 (EDT) |
branch: master
commit 6ab183a0f9e9998996b7da86c5f78dbd1f199655
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* src/keyboard.c (safe_run_hook_funcall): Fix thinko
---
src/keyboard.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/keyboard.c b/src/keyboard.c
index f562b71d31..ca51c80da0 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -1892,7 +1892,7 @@ safe_run_hook_funcall (ptrdiff_t nargs, Lisp_Object *args)
Lisp_Object *newargs;
SAFE_ALLOCA_LISP (newargs, nargs);
newargs[0] = hook, newargs[1] = fun;
- memcpy (args + 2, newargs + 2, (nargs - 2) * word_size);
+ memcpy (newargs + 2, args + 2, (nargs - 2) * word_size);
internal_condition_case_n (safe_run_hooks_1, nargs, newargs,
Qt, safe_run_hooks_error);
SAFE_FREE ();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 6ab183a0f9: * src/keyboard.c (safe_run_hook_funcall): Fix thinko,
Stefan Monnier <=