Mercurial > emacs
diff lisp/help.el @ 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 | 7c0185b54f2d |
children | 27387f2d010c |
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)