Function: byte-compile-toplevel-file-form

byte-compile-toplevel-file-form is a byte-compiled function defined in bytecomp.el.gz.

Signature

(byte-compile-toplevel-file-form TOP-LEVEL-FORM)

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/bytecomp.el.gz
;; byte-hunk-handlers cannot call this!
(defun byte-compile-toplevel-file-form (top-level-form)
  (macroexp--with-extended-form-stack top-level-form
    (byte-compile-recurse-toplevel
     top-level-form
     (lambda (form)
       (let ((byte-compile-current-form nil)) ; close over this for warnings.
         (byte-compile-file-form (byte-compile-preprocess form t)))))))