Skip to content

Commit 48dafc8

Browse files
Ensure async-bytecomp-package-mode is not used in async-package (#194)
1 parent 863b336 commit 48dafc8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

async-package.el

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,12 @@ Argument ERROR-FILE is the file where errors are logged, if some."
7777
package-user-dir ,package-user-dir
7878
package-alist ',package-alist
7979
load-path ',load-path)
80+
;; Ensure `async-bytecomp-package-mode' doesn't kick in
81+
;; (issue #194) as some packages may enable it
82+
;; inconditionally. We don't need to compile async as we are
83+
;; already async and in a clean environment.
84+
(require 'async-bytecomp)
85+
(setq async-bytecomp-allowed-packages nil)
8086
(prog1
8187
(condition-case err
8288
(mapc ',fn ',packages)

0 commit comments

Comments
 (0)