summaryrefslogtreecommitdiff
path: root/src/callint.c
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@gmail.com>2018-01-06 21:16:33 -0500
committerNoam Postavsky <npostavs@gmail.com>2018-01-06 21:22:24 -0500
commit5f720046783c5b29fad3765303c1ad57aba167ce (patch)
tree2e2e05d977b762fe05edac7bd521e3b551ab6e6d /src/callint.c
parent15cd18991c1d9a9bafeef7bf9b4dad91ecc0332a (diff)
downloademacs-5f720046783c5b29fad3765303c1ad57aba167ce.tar.gz
emacs-5f720046783c5b29fad3765303c1ad57aba167ce.tar.bz2
emacs-5f720046783c5b29fad3765303c1ad57aba167ce.zip
Revert "Fix command repetition with lexical-binding (Bug#29334)"
It does not work with more complicated interactive forms, because byte-compile-lambda actually receives an intermediate form of code rather than valid lisp source (Bug#29988). * src/callint.c (Fcall_interactively): * lisp/emacs-lisp/bytecomp.el (byte-compile-lambda): Revert previous change, and update commentary.
Diffstat (limited to 'src/callint.c')
-rw-r--r--src/callint.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/callint.c b/src/callint.c
index dcda0bcf7a0..c713e08d4d4 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -357,9 +357,7 @@ invoke it. If KEYS is omitted or nil, the return value of
/* Compute the arg values using the user's expression. */
specs = Feval (specs,
CONSP (funval) && EQ (Qclosure, XCAR (funval))
- ? CAR_SAFE (XCDR (funval))
- : COMPILEDP (funval) && INTEGERP (AREF (funval, COMPILED_ARGLIST))
- ? Qt : Qnil);
+ ? CAR_SAFE (XCDR (funval)) : Qnil);
if (events != num_input_events || !NILP (record_flag))
{
/* We should record this command on the command history. */