With lexical-binding enabled as of https://github.com/Bad-ptr/persp-mode.el/pull/115, a new problem emerges: explicitly byte-compiling functions in variables' setters yield "Function is already compiled" warnings when persp-mode is loaded, because unquoted (or sharp-quoted) lambdas are implicitly byte-compiled when the package is installed.
With lexical-binding enabled as of https://github.com/Bad-ptr/persp-mode.el/pull/115, a new problem emerges: explicitly byte-compiling functions in variables' setters yield "Function is already compiled" warnings when persp-mode is loaded, because unquoted (or sharp-quoted) lambdas are implicitly byte-compiled when the package is installed.
This stops those warnings at startup.