Commit 39903fd1 authored by Dmitry Gutov's avatar Dmitry Gutov
Browse files

Finally make package-desc--keywords work

* lisp/emacs-lisp/package.el (package-desc--keywords): Use `nth'
  instead of `cdr'.
parent 4d6df420
2014-01-16 Dmitry Gutov <>
* emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
`assoc'. Make private. Update all callers.
`assoc'. Use `nth' instead of `cdr'. Make private. Update all
2014-01-16 Stefan Monnier <>
......@@ -390,7 +390,7 @@ Slots:
(defun package-desc--keywords (pkg-desc)
(let ((keywords (cdr (assoc :keywords (package-desc-extras pkg-desc)))))
(if (eq (car-safe keywords) 'quote)
(cdr keywords)
(nth 1 keywords)
;; Package descriptor format used in finder-inf.el and package--builtins.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment