From 22a1385df5257cb9d5170278c521bdf9ba4aaf68 Mon Sep 17 00:00:00 2001 From: John Paul Wallington Date: Sat, 31 May 2008 18:19:05 +0000 Subject: [PATCH] (describe-variable-custom-version-info): Handle dotted `package-version' info. --- lisp/help-fns.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/help-fns.el b/lisp/help-fns.el index f3b166a33ca..1d1130f21a8 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el @@ -474,7 +474,9 @@ If ANY-SYMBOL is non-nil, don't insist the symbol be bound." 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) -- 2.39.2