byte-compile-dynamic-docstrings is a variable defined in `bytecomp.el'.
Its value is

  • This variable is safe as a file local variable if its value
    satisfies the predicate `booleanp'.

If non-nil, compile doc strings for lazy access.
We bury the doc strings of functions and variables inside comments in
the file, and bring them into core only when they are actually needed.

When this option is true, if you load the compiled file and then move it,
you won't be able to find the documentation of anything in that file.

To disable this option for a certain file, make it a file-local variable
in the source file. For example, add this to the first line:
You can also set the variable globally.

This option is enabled by default because it reduces Emacs memory usage.

You can customize this variable.