summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2014-07-15 21:46:40 +0100
committerAlan Pearce2014-07-15 21:46:40 +0100
commit5c1be534901ea23dfd02ab43f444818b276a1f75 (patch)
tree1d8a9a76cacb6de34d55e5954da2a0edd2782e99 /tag-emacs
parent2620a173aec17d3c1f630ae8f6ebded7a8c07e35 (diff)
downloaddotfiles-5c1be534901ea23dfd02ab43f444818b276a1f75.tar.lz
dotfiles-5c1be534901ea23dfd02ab43f444818b276a1f75.tar.zst
dotfiles-5c1be534901ea23dfd02ab43f444818b276a1f75.zip
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.
Diffstat (limited to 'tag-emacs')
-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 317309b..9fe9b7a 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))