Function: describe-variable-custom-version-info
describe-variable-custom-version-info is a byte-compiled function
defined in help-fns.el.gz.
Signature
(describe-variable-custom-version-info VARIABLE &optional TYPE)
Source Code
;; Defined in /usr/src/emacs/lisp/help-fns.el.gz
(defun describe-variable-custom-version-info (variable &optional type)
(let ((custom-version (get variable 'custom-version))
(cpv (get variable 'custom-package-version))
(type (or type "variable"))
(output nil))
(if custom-version
(setq output
(format " This %s was introduced, or its default value was changed, in\n version %s of Emacs.\n"
type custom-version))
(when cpv
(let* ((package (car-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)
(setq output
(format (concat " This %s was introduced, or its default value was changed, in\n version %s of the %s package"
(if emacsv
(format " that is part of Emacs %s" emacsv))
".\n")
type version package))))))
output))