From be66e132d0ece868e9cb412a4119b96875b5c44f Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 21 Nov 1998 03:19:52 +0000 Subject: [PATCH] (describe-variable): Allow any variable with a defcustom, even if it is not a user variable. --- lisp/help.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/help.el b/lisp/help.el index ce21fa90416..f99f6d20cd1 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -728,10 +728,10 @@ Returns the documentation as a string, also." (help-setup-xref (list #'describe-variable variable) (interactive-p)) ;; Make a link to customize if this variable can be customized. - ;; Note, it is not reliable to test for a custom-type property + ;; 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 (user-variable-p variable) + (if (or (user-variable-p variable) (get variable 'custom-type)) (let ((customize-label "customize")) (terpri) (terpri) -- 2.39.5