summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-06-09 03:47:04 +0000
committerRichard M. Stallman <rms@gnu.org>1998-06-09 03:47:04 +0000
commit6a9ff8615d1fc354e00347b7631a05072caf934d (patch)
tree3384a547f7a6b3a0202306332f13cf37f36411e1 /lisp
parentcf7fec4b5a1cd21354833609b25511b1a7c9b35a (diff)
downloademacs-6a9ff8615d1fc354e00347b7631a05072caf934d.tar.gz
Comment change.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/help.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/help.el b/lisp/help.el
index 8d9f94f4254..e1a65c79e85 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -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)