diff options
| -rw-r--r-- | lisp/help-fns.el | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 46a72b32ba2..2b61cd88d47 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el | |||
| @@ -464,12 +464,7 @@ it is displayed along with the global value." | |||
| 464 | (terpri)) | 464 | (terpri)) |
| 465 | (princ (or doc "Not documented as a variable."))) | 465 | (princ (or doc "Not documented as a variable."))) |
| 466 | ;; Make a link to customize if this variable can be customized. | 466 | ;; Make a link to customize if this variable can be customized. |
| 467 | ;; Note, it is not reliable to test only for a custom-type property | 467 | (if (custom-variable-p variable) |
| 468 | ;; because those are only present after the var's definition | ||
| 469 | ;; has been loaded. | ||
| 470 | (if (or (get variable 'custom-type) ; after defcustom | ||
| 471 | (get variable 'custom-loads) ; from loaddefs.el | ||
| 472 | (get variable 'standard-value)) ; from cus-start.el | ||
| 473 | (let ((customize-label "customize")) | 468 | (let ((customize-label "customize")) |
| 474 | (terpri) | 469 | (terpri) |
| 475 | (terpri) | 470 | (terpri) |