changeset 103155:5f8f851b71b9

(syms_of_keyboard): Staticpro pending_funcalls.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 06 May 2009 01:30:13 +0000
parents 276b0724ed86
children 5eb1da3bf2f6
files src/ChangeLog src/keyboard.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue May 05 04:17:27 2009 +0000
+++ b/src/ChangeLog	Wed May 06 01:30:13 2009 +0000
@@ -1,3 +1,7 @@
+2009-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* keyboard.c (syms_of_keyboard): Staticpro pending_funcalls.
+
 2009-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* Makefile.in (ctagsfiles1, ctagsfiles2): Include ObjC files in TAGS.
--- a/src/keyboard.c	Tue May 05 04:17:27 2009 +0000
+++ b/src/keyboard.c	Wed May 06 01:30:13 2009 +0000
@@ -4491,7 +4491,7 @@
 
 /* List of elisp functions to call, delayed because they were generated in
    a context where Elisp could not be safely run (e.g. redisplay, signal,
-   ...).  Each lement has the form (FUN . ARGS).  */
+   ...).  Each element has the form (FUN . ARGS).  */
 Lisp_Object pending_funcalls;
 
 extern Lisp_Object Qapply;
@@ -11711,6 +11711,7 @@
 syms_of_keyboard ()
 {
   pending_funcalls = Qnil;
+  staticpro (&pending_funcalls);
 
   Vlispy_mouse_stem = build_string ("mouse");
   staticpro (&Vlispy_mouse_stem);