diff options
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 817907ccf2d..f4bba7ed216 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el | |||
| @@ -1681,9 +1681,10 @@ If FORM is a lambda or a macro, byte-compile it as a function." | |||
| 1681 | (byte-compile-warn "malformed interactive spec: %s" | 1681 | (byte-compile-warn "malformed interactive spec: %s" |
| 1682 | (prin1-to-string int)))))) | 1682 | (prin1-to-string int)))))) |
| 1683 | (let ((compiled (byte-compile-top-level (cons 'progn body) nil 'lambda))) | 1683 | (let ((compiled (byte-compile-top-level (cons 'progn body) nil 'lambda))) |
| 1684 | (setq foo compiled) | ||
| 1684 | (if (and (eq 'byte-code (car-safe compiled)) | 1685 | (if (and (eq 'byte-code (car-safe compiled)) |
| 1685 | (byte-compile-version-cond | 1686 | (not (byte-compile-version-cond |
| 1686 | byte-compile-compatibility)) | 1687 | byte-compile-compatibility))) |
| 1687 | (apply 'make-byte-code | 1688 | (apply 'make-byte-code |
| 1688 | (append (list arglist) | 1689 | (append (list arglist) |
| 1689 | ;; byte-string, constants-vector, stack depth | 1690 | ;; byte-string, constants-vector, stack depth |