Bad-ptr / persp-mode.el

named perspectives(set of buffers/window configs) for emacs
394 stars 44 forks source link

Fix 'Function is already compiled' warnings #116

Closed hlissner closed 4 years ago

hlissner commented 4 years ago

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.

Bad-ptr commented 4 years ago

Thanks