From 5c1be534901ea23dfd02ab43f444818b276a1f75 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 15 Jul 2014 21:46:40 +0100 Subject: 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. --- tag-emacs/emacs.d/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 317309b6..9fe9b7a3 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -60,7 +60,7 @@ (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)) -- cgit 1.4.1