emacscollective / borg

Assimilate Emacs packages as Git submodules
https://emacsmirror.net/manual/borg
GNU General Public License v3.0
259 stars 28 forks source link

borg-build: let-bind borg-compile-function #157

Closed darkfeline closed 10 months ago

darkfeline commented 10 months ago

Currently, borg-build sets the global value of borg-compile-function.

This means that calling borg-build actually changes the global behavior of, e.g. borg-compile, which can lead to odd bugs for anyone programmatically calling borg APIs.

I'm guessing that this is not intended.