all repos — nixfiles @ 5c1be534901ea23dfd02ab43f444818b276a1f75

System and user configuration, managed by nix and home-manager

Emacs: Fix error in package-list-installed

Not really sure what happened here. The elements are a cons of a symbol
and an array, so cadr makes no sense.
Alan Pearce alan@alanpearce.co.uk
Tue, 15 Jul 2014 21:46:40 +0100
commit

5c1be534901ea23dfd02ab43f444818b276a1f75

parent

2620a173aec17d3c1f630ae8f6ebded7a8c07e35

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -60,7 +60,7 @@ (aref desc (1- (length desc))))) 
 (defun package-list-installed ()
   (loop for pkg in package-activated-list
-        collect (cadr (assq pkg package-archive-contents))))
+        collect (cdr (assq pkg package-archive-contents))))
 
 (defun package-archive-stats ()
   (let ((archives (makehash))