(byte-compile-lambda): Test of byte-compile-compatibility was backwards.
This commit is contained in:
parent
8290babd65
commit
b890df1a7a
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue