aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-06-13 22:51:17 -0700
committerPaul Eggert2011-06-13 22:51:17 -0700
commita1759b76246a21c7c07dc2ee00b8db792715104c (patch)
treea9960c85be2ce9a3f1686fc5ddd78b8edccb240a /src
parentd96be9fc873bfb4ff7d144c95c577537038e5e26 (diff)
downloademacs-a1759b76246a21c7c07dc2ee00b8db792715104c.tar.gz
emacs-a1759b76246a21c7c07dc2ee00b8db792715104c.zip
* callint.c (Fcall_interactively): Don't use index var as event count.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/callint.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 3d137a16a4c..e4e95ba5aa0 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
12011-06-14 Paul Eggert <eggert@cs.ucla.edu> 12011-06-14 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * callint.c (Fcall_interactively): Don't use index var as event count.
4
3 * vm-limit.c (check_memory_limits): Fix incorrect extern function decls. 5 * vm-limit.c (check_memory_limits): Fix incorrect extern function decls.
4 * mem-limits.h (SIZE): Remove; no longer used. 6 * mem-limits.h (SIZE): Remove; no longer used.
5 7
diff --git a/src/callint.c b/src/callint.c
index 2cc3a7cb537..29bb7ccc409 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -339,7 +339,7 @@ invoke it. If KEYS is omitted or nil, the return value of
339 { 339 {
340 Lisp_Object input; 340 Lisp_Object input;
341 Lisp_Object funval = Findirect_function (function, Qt); 341 Lisp_Object funval = Findirect_function (function, Qt);
342 i = num_input_events; 342 size_t events = num_input_events;
343 input = specs; 343 input = specs;
344 /* Compute the arg values using the user's expression. */ 344 /* Compute the arg values using the user's expression. */
345 GCPRO2 (input, filter_specs); 345 GCPRO2 (input, filter_specs);
@@ -347,7 +347,7 @@ invoke it. If KEYS is omitted or nil, the return value of
347 CONSP (funval) && EQ (Qclosure, XCAR (funval)) 347 CONSP (funval) && EQ (Qclosure, XCAR (funval))
348 ? Qt : Qnil); 348 ? Qt : Qnil);
349 UNGCPRO; 349 UNGCPRO;
350 if (i != num_input_events || !NILP (record_flag)) 350 if (events != num_input_events || !NILP (record_flag))
351 { 351 {
352 /* We should record this command on the command history. */ 352 /* We should record this command on the command history. */
353 Lisp_Object values; 353 Lisp_Object values;