Mercurial > emacs
changeset 23741:0146ed131b2a
(describe-variable): Allow any variable with a defcustom,
even if it is not a user variable.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 21 Nov 1998 03:19:52 +0000 |
parents | 875cdc9480ab |
children | 8c57752f8e9c |
files | lisp/help.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/help.el Sat Nov 21 02:34:50 1998 +0000 +++ b/lisp/help.el Sat Nov 21 03:19:52 1998 +0000 @@ -728,10 +728,10 @@ (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)