summaryrefslogtreecommitdiff
path: root/lisp/help-fns.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/help-fns.el')
-rw-r--r--lisp/help-fns.el4
1 files changed, 3 insertions, 1 deletions
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)