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

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

[elpa] master c9fb3f5 147/187: async-bytecomp-allowed-packages should be


From: Michael Albinus
Subject: [elpa] master c9fb3f5 147/187: async-bytecomp-allowed-packages should be a list of symbols.
Date: Wed, 30 Dec 2015 11:50:18 +0000

branch: master
commit c9fb3f55a041f523755f749834077518416bfad2
Author: Thierry Volpiatto <address@hidden>
Commit: Thierry Volpiatto <address@hidden>

    async-bytecomp-allowed-packages should be a list of symbols.
    
    * async-bytecomp.el (async-bytecomp-allowed-packages): Fix docstring.
    (package--compile): Check if async-bytecomp-allowed-packages is
    a list of one symbol '(all) and not a symbol 'all.
---
 async-bytecomp.el |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/async-bytecomp.el b/async-bytecomp.el
index 093e377..047e605 100644
--- a/async-bytecomp.el
+++ b/async-bytecomp.el
@@ -46,8 +46,8 @@
   "Packages in this list will be compiled asynchronously by `package--compile'.
 All the dependencies of these packages will be compiled async too,
 so no need to add dependencies to this list.
-The value of this variable can also be the symbol `all', in this case
-packages are always compiled asynchronously."
+The value of this variable can also be a list with a single element,
+the symbol `all', in this case packages are always compiled asynchronously."
   :group 'async
   :type '(repeat (choice symbol)))
 
@@ -133,7 +133,7 @@ All *.elc files are systematically deleted before 
proceeding."
 
 (defadvice package--compile (around byte-compile-async activate)
   (let ((cur-package (package-desc-name pkg-desc)))
-    (if (or (eq async-bytecomp-allowed-packages 'all)
+    (if (or (equal async-bytecomp-allowed-packages '(all))
             (memq cur-package (async-bytecomp-get-allowed-pkgs)))
         (progn
           (when (eq cur-package 'async)



reply via email to

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