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
commit4f103eaae6b28f48c4b0fa51e3e0fb1a086a6cc5 (patch)
tree610adc3f1d687ddfe9ab88543057c70a1f4bc278 /lisp
parent16417dd9e9fbb18c170371d5292c76b3f51d2bcd (diff)
downloademacs-4f103eaae6b28f48c4b0fa51e3e0fb1a086a6cc5.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)