Variable: byte-compile-dynamic

byte-compile-dynamic is a variable defined in bytecomp.el.gz.

This variable is obsolete since 27.1; not worthwhile any more.

Value

nil

Documentation

If non-nil, compile function bodies so they load lazily.

They are hidden in comments in the compiled file, and each one is brought into core when the function is called.

To enable this option, make it a file-local variable in the source file you want it to apply to.
For example, add -*-byte-compile-dynamic: t;-*- on the first line.

When this option is true, if you load the compiled file and then move it, the functions you loaded will not be able to run.

View in manual

Probably introduced at or before Emacs version 19.29.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/bytecomp.el.gz
(defvar byte-compile-dynamic nil
  "If non-nil, compile function bodies so they load lazily.
They are hidden in comments in the compiled file,
and each one is brought into core when the
function is called.

To enable this option, make it a file-local variable
in the source file you want it to apply to.
For example, add  -*-byte-compile-dynamic: t;-*- on the first line.

When this option is true, if you load the compiled file and then move it,
the functions you loaded will not be able to run.")