From a4bb8336f90a47a99d6c779bbef2e500edb63083 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 8 Apr 1999 16:46:15 +0000 Subject: [PATCH] (describe-variable): Check custom-loads property as well as custom-type. --- lisp/help.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- 2.39.2