Comment change.
[bpt/emacs.git] / lisp / help.el
index 8d9f94f..e1a65c7 100644 (file)
@@ -738,8 +738,10 @@ Returns the documentation as a string, also."
           (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)