]> git.eshelyaron.com Git - emacs.git/commitdiff
(describe-variable): Check custom-loads property as well as custom-type.
authorRichard M. Stallman <rms@gnu.org>
Thu, 8 Apr 1999 16:46:15 +0000 (16:46 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 8 Apr 1999 16:46:15 +0000 (16:46 +0000)
lisp/help.el

index df28f62d1020935ccd54eb7c3bf9327f589fc135..5214d6fda94908e15a36d423ed3e019825717d12 100644 (file)
@@ -766,7 +766,9 @@ Returns the documentation as a string, also."
          ;; 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)