Mercurial > emacs
changeset 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 | 14f66635f87d |
children | f93f13f7bef5 |
files | lisp/help-fns.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
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)