diff options
| author | Richard M. Stallman | 1998-11-21 03:19:52 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-11-21 03:19:52 +0000 |
| commit | be66e132d0ece868e9cb412a4119b96875b5c44f (patch) | |
| tree | ae49b477d7d4a5191b95bb826c8cb1205061ac25 | |
| parent | b63e51c5fc4557dd8545cc1044f31490d97edb4a (diff) | |
| download | emacs-be66e132d0ece868e9cb412a4119b96875b5c44f.tar.gz emacs-be66e132d0ece868e9cb412a4119b96875b5c44f.zip | |
(describe-variable): Allow any variable with a defcustom,
even if it is not a user variable.
| -rw-r--r-- | lisp/help.el | 4 |
1 files 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." | |||
| 728 | (help-setup-xref (list #'describe-variable variable) (interactive-p)) | 728 | (help-setup-xref (list #'describe-variable variable) (interactive-p)) |
| 729 | 729 | ||
| 730 | ;; Make a link to customize if this variable can be customized. | 730 | ;; Make a link to customize if this variable can be customized. |
| 731 | ;; Note, it is not reliable to test for a custom-type property | 731 | ;; Note, it is not reliable to test only for a custom-type property |
| 732 | ;; because those are only present after the var's definition | 732 | ;; because those are only present after the var's definition |
| 733 | ;; has been loaded. | 733 | ;; has been loaded. |
| 734 | (if (user-variable-p variable) | 734 | (if (or (user-variable-p variable) (get variable 'custom-type)) |
| 735 | (let ((customize-label "customize")) | 735 | (let ((customize-label "customize")) |
| 736 | (terpri) | 736 | (terpri) |
| 737 | (terpri) | 737 | (terpri) |