Commit b890df1a authored by Richard M. Stallman's avatar Richard M. Stallman

(byte-compile-lambda): Test of byte-compile-compatibility was backwards.

parent 8290babd
......@@ -1681,9 +1681,10 @@ If FORM is a lambda or a macro, byte-compile it as a function."
(byte-compile-warn "malformed interactive spec: %s"
(prin1-to-string int))))))
(let ((compiled (byte-compile-top-level (cons 'progn body) nil 'lambda)))
(setq foo compiled)
(if (and (eq 'byte-code (car-safe compiled))
(byte-compile-version-cond
byte-compile-compatibility))
(not (byte-compile-version-cond
byte-compile-compatibility)))
(apply 'make-byte-code
(append (list arglist)
;; byte-string, constants-vector, stack depth
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment