changeset 22407:e7ec3ed4c814

Comment change.
author Richard M. Stallman <rms@gnu.org>
date Tue, 09 Jun 1998 03:47:04 +0000
parents d893285c4d8a
children 500bc7f67524
files lisp/help.el
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/help.el	Tue Jun 09 02:53:29 1998 +0000
+++ b/lisp/help.el	Tue Jun 09 03:47:04 1998 +0000
@@ -738,8 +738,10 @@
           (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)