From: Richard M. Stallman Date: Thu, 8 Apr 1999 16:46:15 +0000 (+0000) Subject: (describe-variable): Check custom-loads property as well as custom-type. X-Git-Tag: emacs-20.4~352 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a4bb8336f90a47a99d6c779bbef2e500edb63083;p=emacs.git (describe-variable): Check custom-loads property as well as custom-type. --- diff --git a/lisp/help.el b/lisp/help.el index df28f62d102..5214d6fda94 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -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)