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
1 files changed, 1 insertions(+), 1 deletions(-)
jump to
M tag-emacs/emacs.d/init.el → tag-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))