(help-setup-xref (list #'describe-variable variable) (interactive-p))
;; Make a link to customize if this variable can be customized.
- (if (or (get variable 'custom-type)
- (user-variable-p variable))
+ ;; Note, it is not reliable to test for a custom-type property
+ ;; because those are only present after the var's definition
+ ;; has been loaded.
+ (if (user-variable-p variable)
(let ((customize-label "customize"))
(terpri)
(terpri)