[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 2a7f01aa38: Fix initialization of module functions
From: |
Eli Zaretskii |
Subject: |
master 2a7f01aa38: Fix initialization of module functions |
Date: |
Thu, 10 Nov 2022 05:55:56 -0500 (EST) |
branch: master
commit 2a7f01aa38bda94f3e68bbcbc4efde841d7b524b
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
Fix initialization of module functions
* src/emacs-module.c (allocate_module_function): Fix
initialization of module functions. Suggested by Richard Copley
<rcopley@gmail.com>. (Bug#59104)
---
src/emacs-module.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/emacs-module.c b/src/emacs-module.c
index fcdf103c19..35d6e9e0d7 100644
--- a/src/emacs-module.c
+++ b/src/emacs-module.c
@@ -561,7 +561,7 @@ static struct Lisp_Module_Function *
allocate_module_function (void)
{
return ALLOCATE_PSEUDOVECTOR (struct Lisp_Module_Function,
- interactive_form, PVEC_MODULE_FUNCTION);
+ command_modes, PVEC_MODULE_FUNCTION);
}
#define XSET_MODULE_FUNCTION(var, ptr) \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 2a7f01aa38: Fix initialization of module functions,
Eli Zaretskii <=