summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tag-emacs/emacs.d/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index e1352fc..317309b 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -69,7 +69,7 @@
       (puthash (car arc) 0 archives))
     (maphash (lambda (k v)
                (setq assoc (cons (cons k v) assoc)))
-             (dolist (pkg (package-list-installed) archives)
+             (dolist (pkg (-filter #'identity (package-list-installed)) archives)
                (let ((pkg-arc (package-desc-archive pkg)))
                  (incf (gethash pkg-arc archives)))))
     assoc))