emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/async 48dafc8316: Ensure async-bytecomp-package-mode is


From: ELPA Syncer
Subject: [elpa] externals/async 48dafc8316: Ensure async-bytecomp-package-mode is not used in async-package (#194)
Date: Mon, 25 Nov 2024 12:57:28 -0500 (EST)

branch: externals/async
commit 48dafc8316e240e1a0e50bd67795a5333c0f97cd
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>

    Ensure async-bytecomp-package-mode is not used in async-package (#194)
---
 async-package.el | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/async-package.el b/async-package.el
index e3e0c51fa5..d6c5823637 100644
--- a/async-package.el
+++ b/async-package.el
@@ -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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]