changeset 24597:a40067a8696b

(describe-variable): Check custom-loads property as well as custom-type.
author Richard M. Stallman <rms@gnu.org>
date Thu, 08 Apr 1999 16:46:15 +0000
parents 5f4d21e85cf6
children 078d53377010
files lisp/help.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/help.el	Thu Apr 08 16:26:38 1999 +0000
+++ b/lisp/help.el	Thu Apr 08 16:46:15 1999 +0000
@@ -766,7 +766,9 @@
 	  ;; Note, it is not reliable to test only for a custom-type property
 	  ;; because those are only present after the var's definition
 	  ;; has been loaded.
-	  (if (or (user-variable-p variable) (get variable 'custom-type))
+	  (if (or (user-variable-p variable)
+		  (get variable 'custom-loads)
+		  (get variable 'custom-type))
 	      (let ((customize-label "customize"))
 		(terpri)
 		(terpri)