Mercurial > emacs
diff lisp/help-fns.el @ 95444:f4d291b9de49
(describe-variable-custom-version-info): Handle dotted
`package-version' info.
author | John Paul Wallington <jpw@pobox.com> |
---|---|
date | Sat, 31 May 2008 18:19:05 +0000 |
parents | ee5932bf781d |
children | 0f9baaf9427f |
line wrap: on
line diff
--- a/lisp/help-fns.el Sat May 31 15:32:10 2008 +0000 +++ b/lisp/help-fns.el Sat May 31 18:19:05 2008 +0000 @@ -474,7 +474,9 @@ custom-version)) (when cpv (let* ((package (car-safe cpv)) - (version (car (cdr-safe cpv))) + (version (if (listp (cdr-safe cpv)) + (car (cdr-safe cpv)) + (cdr-safe cpv))) (pkg-versions (assq package customize-package-emacs-version-alist)) (emacsv (cdr (assoc version pkg-versions)))) (if (and package version)