aboutsummaryrefslogtreecommitdiffstats
path: root/src/callint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/callint.c')
-rw-r--r--src/callint.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/callint.c b/src/callint.c
index b31faba8704..9d6f2ab2888 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -319,10 +319,10 @@ invoke it (via an `interactive' spec that contains, for instance, an
319 { 319 {
320 Lisp_Object funval = Findirect_function (function, Qt); 320 Lisp_Object funval = Findirect_function (function, Qt);
321 uintmax_t events = num_input_events; 321 uintmax_t events = num_input_events;
322 Lisp_Object env = CLOSUREP (funval) && CONSP (AREF (funval, CLOSURE_CODE))
323 ? AREF (funval, CLOSURE_CONSTANTS) : Qnil;
322 /* Compute the arg values using the user's expression. */ 324 /* Compute the arg values using the user's expression. */
323 specs = Feval (specs, 325 specs = Feval (specs, env);
324 CONSP (funval) && EQ (Qclosure, XCAR (funval))
325 ? CAR_SAFE (XCDR (funval)) : Qnil);
326 if (events != num_input_events || !NILP (record_flag)) 326 if (events != num_input_events || !NILP (record_flag))
327 { 327 {
328 /* We should record this command on the command history. 328 /* We should record this command on the command history.