I want to set the destination directory for emacs lisp byte compilation using relative path such as ../foo. I figured out I should use byte-compile-dest-file-function, but do not know how to set it. How can I set it?
I want to set the destination directory for emacs lisp byte compilation using relative
Share
To set the
byte-compile-dest-functionvariable, you can use eithercustomize-variableinteractively, orsetqin your init file. Since you’ll have to write a function doing the job either way, I would recommand the latter, so that everything is in the same place in your init file.For example: