Skip to content

Commit

Permalink
Ensure async-bytecomp-package-mode is not used in async-package (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
thierryvolpiatto committed Nov 25, 2024
1 parent 863b336 commit 48dafc8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions async-package.el
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ Argument ERROR-FILE is the file where errors are logged, if some."
package-user-dir ,package-user-dir
package-alist ',package-alist
load-path ',load-path)
;; Ensure `async-bytecomp-package-mode' doesn't kick in
;; (issue #194) as some packages may enable it
;; inconditionally. We don't need to compile async as we are
;; already async and in a clean environment.
(require 'async-bytecomp)
(setq async-bytecomp-allowed-packages nil)
(prog1
(condition-case err
(mapc ',fn ',packages)
Expand Down

0 comments on commit 48dafc8

Please sign in to comment.