branch: master
commit 37a1e643608b88a44ee39f77c775f57cc19109df
Author: Basil L. Contovounesios <[email protected]>
Commit: Basil L. Contovounesios <[email protected]>

    counsel.el (counsel-package-action): Add defvar
    
    Declare free variable package-alist from package.el to silence
    byte-compiler.
    
    Fixes #978
---
 counsel.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/counsel.el b/counsel.el
index 9857ead..6d252c0 100644
--- a/counsel.el
+++ b/counsel.el
@@ -2232,6 +2232,7 @@ INITIAL-INPUT can be given as the initial minibuffer 
input."
 
 ;;** `counsel-package'
 (defvar package--initialized)
+(defvar package-alist)
 (defvar package-archive-contents)
 (declare-function package-installed-p "package")
 (declare-function package-delete "package")

Reply via email to